-
Notifications
You must be signed in to change notification settings - Fork 120
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
add function to normalize #197
Conversation
we can probably rework this to normalize to any specific subset of data, just works for time at the moment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, but a few minor changes, please.
And just for kicks: why not (also) have an API like df.normalize(year=2005, inplace=True)
? Instead of cols
, which might be difficult if you want to support normalizing on multiple columns.
Ok @danielhuppmann all suggested changes made! |
thanks @gidden, looks great! do you want to add it to the release notes for completeness? |
done! |
starting to add a function to normalize all data to a specific time value