[SciPy-user] Number of periods in a year in scikits.timeseries

Abiel Reinhart abielr at gmail.com
Thu May 28 00:21:25 EDT 2009


Is there an automated way to determine the number of periods in a year
for a given frequency in scikits.timeseries? For instance, a monthly
series has 12 periods in a year, and a daily series has 365.25. It
would not be too hard just to create a table for this, but I wanted to
first check if there was an automated way. This is useful when you
want to be able to take annualized percent changes or differences.

Thank you.

Abiel



More information about the SciPy-User mailing list