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

31 Mar 2024

Posted on:

22 Aug 2023

0

Two weeks frequency

Hello

what is the frequency parameter when I have data that is collected daily but had been aggregated as two weeks so now the date is first and 15th day of the month? 

1 answers ( 0 marked as helpful)
Posted on:

31 Mar 2024

0

Hi Sahar,


Check out this Stack Overflow post for a list of possible values for the "freq" parameter: https://stackoverflow.com/questions/35339139/what-values-are-valid-in-pandas-freq-tags.


For your example, it looks like the correct choice is "SMS" or "semi-month start frequency".


Note: The same list of values can be found on Pandas official documentation here: https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases.


Hope this helps!

Submit an answer