Last answered:

02 Mar 2023

Posted on:

29 Jul 2022

0

setting the frequency- video lecture

image



Hi,
I am getting different result from what it is shown in the video lecture, will you please help me to resolve this issue.
thanks

2 answers ( 0 marked as helpful)
Posted on:

07 Oct 2022

0

Hi Moniruzzaman. I am also getting similar result as yours. Did you manage to resolve this?

Super learner
This user is a Super Learner. To become a Super Learner, you need to reach Level 8.
Posted on:

02 Mar 2023

0

I think you have both skipped an earlier step, as you should no longer have a date column as it should be assigned as the index.

df_comp.date = pd.to_datetime(df_comp.date, dayfirst = True)

df_comp.date.describe()

df_comp.set_index("date", inplace = True)

df_comp.head()

 

Submit an answer