I am trying to change the frequency of my dataframe using:
df2 = df.resample(\'M\').asfreq()
or
df = df.asfreq(\'M\')