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

Update datetime_helpers.py #127

Closed
wants to merge 1 commit into from

Conversation

JustinKurland
Copy link
Collaborator

freq_to_dateoffset cleaned up function to make more readable, extendable, and Pythonic using mapping rather than a series of if, else, ifelse statements.

`freq_to_dateoffset` cleaned up function to make more readable, extendable, and Pythonic using mapping rather than a series of if, else, ifelse statements.
@JustinKurland
Copy link
Collaborator Author

Going to PR the numerous changes to datetime_helpers one at a time to reduce complexity of merges. Each is relatively simple on it's own.

@mdancho84
Copy link
Contributor

Yeah, that's a good idea. I want to make sure it doesn't break too much stuff. There are some dependencies on floor_date that I use so I need to test your change thoroughly.

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.

2 participants