période de changement de pandas
#Change daily period to monthly period
data = data.to_period('M')
M.U
#Change daily period to monthly period
data = data.to_period('M')