Skip to content

CLN: Remove unused is_datetimelike arg #32919

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
Mar 24, 2020
Merged

CLN: Remove unused is_datetimelike arg #32919

merged 1 commit into from
Mar 24, 2020

Conversation

dsaxton
Copy link
Member

@dsaxton dsaxton commented Mar 23, 2020

No description provided.

@WillAyd WillAyd added the Clean label Mar 23, 2020
@WillAyd WillAyd added this to the 1.1 milestone Mar 23, 2020
@jbrockmendel
Copy link
Member

are there any situations where we should be passing is_datetimelike in to the cython functions?

@dsaxton
Copy link
Member Author

dsaxton commented Mar 23, 2020

are there any situations where we should be passing is_datetimelike in to the cython functions?

I'm not sure to be honest. Should the functions be able to infer that from result if needed?

@jbrockmendel
Copy link
Member

I'm not sure to be honest. Should the functions be able to infer that from result if needed?

I don't think so; any of the datetimelike dtypes will be cast to i8 before being passed to the cython funcs.

Even if we don't have a good answer for that question, this PR certainly doesnt make matters any worse, and is a nice cleanup. LGTM.

@jreback jreback merged commit ff91535 into pandas-dev:master Mar 24, 2020
@jreback
Copy link
Contributor

jreback commented Mar 24, 2020

thanks @dsaxton
yeah this looks like some needed cleanup after a previous couple of refactortings.

@dsaxton dsaxton deleted the rm-arg branch March 24, 2020 19:56
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.

4 participants