Resampling data python

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