I'm wondering how to get the Date column values. The 'Date' column doesn't show when typing df.columns. I'm trying to get this df into a Json file with df.to_json(), which get all values but the Date. Thank you all.
Open High Low Close
Date
2020-03-16 36.01 41.40 36.01 39.04
2020-03-17 40.50 43.57 39.11 41.51
2020-03-18 38.80 40.87 35.70 38.65
2020-03-19 37.50 39.00 35.26 36.40
2020-03-20 37.90 39.41 34.71 35.19
In [49]: type(df) Out[49]: pandas.core.frame.DataFrame