Skip to content

CLN: simplify to_offset #34444

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 29, 2020
Merged

Conversation

jbrockmendel
Copy link
Member

No description provided.

msg = "Invalid frequency: 0 days 00:00:00"
td = Timedelta(microseconds=0)

with pytest.raises(ValueError, match=msg):
Copy link
Contributor

Choose a reason for hiding this comment

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

is this duplicative?

Copy link
Member Author

Choose a reason for hiding this comment

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

this no longer raises, is added as a case on L140

Copy link
Contributor

Choose a reason for hiding this comment

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

ahh ok (oh the microseconds), sure

@jreback jreback added Clean Frequency DateOffsets labels May 28, 2020
@jreback jreback added this to the 1.1 milestone May 28, 2020
@jreback
Copy link
Contributor

jreback commented May 28, 2020

lgtm ping on green.

@jbrockmendel
Copy link
Member Author

ping

@jreback jreback merged commit 484e0b4 into pandas-dev:master May 29, 2020
@jbrockmendel jbrockmendel deleted the ref-to_offset branch May 29, 2020 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants