Resampling data python
#Resample to monthly
df.resample('M').asfreq()
M.U
#Resample to monthly
df.resample('M').asfreq()