Pandas ändern die Zeit

#Change daily period to monthly period
data = data.to_period('M')
M.U