user7347576
user7347576

Reputation: 236

Print row of dataframe

When I print my dataframe, total, this is printed:

               TimeTaken
StartLocation           
?                 3430.0
bathroom         17144.0
...                  ... 

I want a series of the locations, like so:

? 
bathroom
...

How can I do this?

Upvotes: 1

Views: 388

Answers (1)

user7347576
user7347576

Reputation: 236

Thanks to @Psidom. It can be done by using:

total.index

Upvotes: 1

Related Questions