2021年5月4日星期二

Dataframe get index date from value

I have a df

enter image description here

and in iteration with print statement,

print(df.iloc[i])  

I am getting value as

enter image description here

But how to get the index value of it which is a date from df.iloc[i]?

https://stackoverflow.com/questions/67394464/dataframe-get-index-date-from-value May 05, 2021 at 10:34AM

没有评论:

发表评论