Skip to content

CLN: Remove is_null_period #33750

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
Apr 23, 2020
Merged

CLN: Remove is_null_period #33750

merged 1 commit into from
Apr 23, 2020

Conversation

dsaxton
Copy link
Member

@dsaxton dsaxton commented Apr 23, 2020

is_null_period seems only to be an alias for checknull_with_nat so I think it can be removed?

@@ -40,6 +40,7 @@ cpdef bint checknull(object val):
- NaT
- np.datetime64 representation of NaT
- np.timedelta64 representation of NaT
- NA
Copy link
Member

Choose a reason for hiding this comment

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

this is an unrelated cleanup?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I just noticed that was missing from the docstring so added it here

@jbrockmendel
Copy link
Member

LGTM

@dsaxton dsaxton added the Clean label Apr 23, 2020
@jorisvandenbossche jorisvandenbossche merged commit bbfa399 into pandas-dev:master Apr 23, 2020
@jorisvandenbossche
Copy link
Member

Thanks!

@dsaxton dsaxton deleted the clean-missing branch April 23, 2020 18:58
rhshadrach pushed a commit to rhshadrach/pandas that referenced this pull request May 10, 2020
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.

3 participants