>>> import pandas as pd
>>> df = pd.DataFrame({'animal':['alligator', 'bee', 'falcon', 'lion','monkey', 'parrot', 'shark', 'whale', 'zebra']})
>>> df
animal
0 alligator
1 bee
2 falcon
3 lion
4 monkey
5 parrot
6 shark
7 whale
8 zebra
>>> df.animal.tolist()
['alligator', 'bee', 'falcon', 'lion', 'monkey', 'parrot', 'shark', 'whale', 'zebra']
>>> df.index
RangeIndex(start=0, stop=9, step=1)
>>> df.index.values
array([0, 1, 2, 3, 4, 5, 6, 7, 8])
>>> df.index.values.tolist()
[0, 1, 2, 3, 4, 5, 6, 7, 8]