Панды смены
#Change daily period to monthly period
data = data.to_period('M')
M.U
#Change daily period to monthly period
data = data.to_period('M')