Thanks for investing time to help me out :)
I have DataFrame (df_NSE_Price_) like below:
Company Name ID 2000-01-03 00:00:00 2000-01-04 00:00:00 ....
Reliance Industries Ltd. 100325 50.810 54.
Tata Consultancy Service 123455 123 125
..
I would want output like below :
Company Name ID March 00 April 00 .....
Reliance Industries Ltd 100325 52 55
Tata Consultancy Services 123455 124.3 124
..
The output data has to have the average of data month wise.
So far i have tried
df_NSE_Price_.resample('M',axis=1).mean()
But this gave me error Only valid with DatetimeIndex, TimedeltaIndex or PeriodIndex, but got an instance of 'Index'