Pandas change la fréquence de DatetimeIndex
#Change frequency of data in df from annual to monthly
df.asfreq('M')
M.U
#Change frequency of data in df from annual to monthly
df.asfreq('M')