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 - freq_to_dateoffset #129

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

JustinKurland
Copy link
Collaborator

Cleaned up freq_to_dateoffset to make cleaner, more efficient, readable, extendable, and Pythonic. Changed to primarily be a lookup table/map dict type function rather than a series of if, else, elif statements.

Cleaned up `freq_to_dateoffset` to make cleaner, more efficient, readable, extendable, and Pythonic. Changed to primarily be a lookup table/map dict type function rather than a series of if, else, elif statements.
@JustinKurland
Copy link
Collaborator Author

Again, just slight clean up.

@mdancho84 mdancho84 merged commit 4791830 into business-science:master Oct 18, 2023
5 checks passed
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