Skip to content

REF: de-duplicate Period freq conversion code #31577

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

Merged
merged 2 commits into from
Feb 2, 2020

Conversation

jbrockmendel
Copy link
Member

No description provided.

@jreback jreback added Clean Frequency DateOffsets Period Period data type labels Feb 2, 2020
@@ -272,6 +272,8 @@ cdef int64_t DtoB_weekday(int64_t unix_date) nogil:

cdef int64_t DtoB(npy_datetimestruct *dts, int roll_back,
int64_t unix_date) nogil:
# calculate the current week (counting from 1970-01-01) treating
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

always nice to add doc-strings when you can

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping on green.

@jreback jreback added this to the 1.1 milestone Feb 2, 2020
@jbrockmendel
Copy link
Member Author

ping

@jreback jreback merged commit 84c01bc into pandas-dev:master Feb 2, 2020
@jbrockmendel jbrockmendel deleted the period-dedup2 branch February 2, 2020 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Frequency DateOffsets Period Period data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants