0

I have a dataframe, which has two columns, the following is the screenshot of printing it out directly. However, when printing out its columns, only one column is shown. I guess the first column is used by index by default, how can I add one extra index column, and avoid using history_date column as index.

enter image description here

enter image description here

user297850
  • 7,705
  • 17
  • 54
  • 76

0 Answers0