Skip to content

ENH: Don't infer WOM-5MON if we don't support it (#9425) #9427

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 1 commit into from
May 30, 2015

Conversation

craustin
Copy link

@craustin craustin commented Feb 5, 2015

closes #9425

@jreback jreback added the Frequency DateOffsets label Feb 6, 2015
@jreback jreback modified the milestone: Next Major Release Mar 3, 2015
@@ -926,7 +926,8 @@ def _get_wom_rule(self):
return None

week_of_months = unique((self.index.day - 1) // 7)
if len(week_of_months) > 1:
week_of_months = week_of_months[week_of_months < 4]
Copy link
Contributor

Choose a reason for hiding this comment

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

can you add a comment here on what this does and referene the issue (so future readers will know).

@jreback
Copy link
Contributor

jreback commented May 29, 2015

pls add a release note. you can put in bug fixes for 0.17.0. looks good. pls ping when travis is green.

@jreback jreback modified the milestones: 0.17.0, Next Major Release May 29, 2015
@craustin
Copy link
Author

@jreback build passed. let me know if there's anything else i can do

shoyer added a commit that referenced this pull request May 30, 2015
ENH: Don't infer WOM-5MON if we don't support it (#9425)
@shoyer shoyer merged commit 5852e72 into pandas-dev:master May 30, 2015
@shoyer
Copy link
Member

shoyer commented May 30, 2015

thanks!

@jorisvandenbossche jorisvandenbossche modified the milestones: 0.17.0, 0.16.2 Jun 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frequency DateOffsets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'infer_freq' can return timerule (WOM-5MON) that 'to_offset' does not support
4 participants