I have Index like below:
Index(['2000-02-29 00:00:00_y', '2000-03-31 00:00:00_y',
'2000-04-30 00:00:00_y', '2000-05-31 00:00:00_y',
'2000-06-30 00:00:00_y', '2000-07-31 00:00:00_y',......
and tired to change in to datetime format by:
df.index.to_datetime())
now i am getting error :
ValueError: Unknown string format
how to solve this problem?