I have a Python dictionary and I created a panda data frame like below:
I want to change the name of index column to date . But I couldn't do this with data.set_index('date') . How can I do this? Any advice would be appreciated.
I have a Python dictionary and I created a panda data frame like below:
I want to change the name of index column to date . But I couldn't do this with data.set_index('date') . How can I do this? Any advice would be appreciated.