Dataframe get index date from value

  dataframe, pandas, python

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]?

Source: Python Questions

LEAVE A COMMENT