Skip to content

CLN: avoid bare except in libfrequencies #28344

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
Sep 9, 2019

Conversation

jbrockmendel
Copy link
Member

2/n

@@ -156,16 +156,16 @@ cpdef get_freq_code(freqstr):
if is_integer_object(freqstr[0]) and is_integer_object(freqstr[1]):
# e.g., freqstr = (2000, 1)
return freqstr
elif is_integer_object(freqstr[0]):
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 update the doc-string to add Raises (TypeError)

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated and green

@jreback jreback added Clean Frequency DateOffsets labels Sep 8, 2019
@jreback jreback added this to the 1.0 milestone Sep 8, 2019
@jreback jreback merged commit 17f73aa into pandas-dev:master Sep 9, 2019
@jreback
Copy link
Contributor

jreback commented Sep 9, 2019

thanks

@jbrockmendel jbrockmendel deleted the raiser3 branch September 9, 2019 14:25
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
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