Imagine a DataFrame with 5 rows where the rows are labeled with numbers from 0 to 4. You want to change the index into row, row2, ..., row5. How can you do it?
Accessing data in a DataFrame
New indexing
Report a typo
Select one or more options from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.