Returning the index of a row in dataframe

Mahmood Naderan nt_mahmood at yahoo.com
Sun Nov 14 10:24:19 EST 2021


>>> df.iloc[1].name


Correct.... I also see that 'df.index[1]' works fine.
Thanks.


Regards,
Mahmood





More information about the Python-list mailing list