python 2.7 - Can't change MultiIndex to datetime index -


i'm trying convert multiindex datetime index.

all_data.index 

enter image description here

i tried

all_data.index.to_datetime() 

and pandas.to_datetime(all_data.index). both give same output error. enter image description here enter image description here

i tried resample data, failed also.

problem solved all_date.index.droplevel(level=0)


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -