Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix periodicity function to also work with numeric multipliers as occasionally attached by pandas. #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mzietlow
Copy link

@mzietlow mzietlow commented Dec 1, 2020

This pull request addresses #14 and also encapsulates the proposed changes from #16.

Pandas (depending on your time series) attaches numerical values before the base frequency, e.g. "5T", meaning a five minute frequency.

This is now reflected by scaling the intended frequency down accordingly, e.g. instead of a 60-unit periodicity => a 60/5 -> 12-unit periodicity is now assumed.

@mzietlow mzietlow force-pushed the f/also_infer_numeric_frequencies branch from 7db71b2 to 38fe44e Compare December 1, 2020 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant