Skip to content

BUG: DTI/TDI/PI where accepting non-matching dtypes #30791

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 34 commits into from
Jan 7, 2020

Conversation

jbrockmendel
Copy link
Member

This bug was hidden by _ensure_datetimelike_to_i8, and the only other place where that is used is in _round. _round is clearer without using it, so ensure_datetimelike_to_i8 gets ripped out, and with it we can get rid of _ensure_localized.

@jbrockmendel jbrockmendel changed the title BUG: DTI/TDI/PI where accepting non-matching dtypes BUG: DTI/TDI/PI where accepting non-matching dtypes Jan 7, 2020
@jreback jreback added Bug Timedelta Timedelta data type Datetime Datetime data dtype labels Jan 7, 2020
@jreback jreback added this to the 1.0 milestone Jan 7, 2020
@jreback jreback merged commit bde2527 into pandas-dev:master Jan 7, 2020
@jreback
Copy link
Contributor

jreback commented Jan 7, 2020

thanks @jbrockmendel

love the code cleanups!

@jbrockmendel jbrockmendel deleted the ref-ensure_dtl branch January 7, 2020 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Datetime Datetime data dtype Timedelta Timedelta data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants