Skip to content

REGR: DatetimeIndex.intersection incorrectly raising AssertionError #35877

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 12 commits into from
Aug 24, 2020

Conversation

jbrockmendel
Copy link
Member

@dsaxton this PR's test and whatsnew note reference the underlying issue you identified in #35876, but not the OP issue. Do you think we should add a test/note for that directly?

@dsaxton
Copy link
Member

dsaxton commented Aug 24, 2020

@dsaxton this PR's test and whatsnew note reference the underlying issue you identified in #35876, but not the OP issue. Do you think we should add a test/note for that directly?

I personally think it's fine to test / note only the root issue since the OP wasn't minimal (makes for cleaner / better tests IMO). Did a quick sanity check and this does fix the groupby issue also.

@jreback jreback added Index Related to the Index class or subclasses Regression Functionality that used to work in a prior pandas version Datetime Datetime data dtype labels Aug 24, 2020
@jreback jreback added this to the 1.1.2 milestone Aug 24, 2020
@jreback jreback merged commit e582602 into pandas-dev:master Aug 24, 2020
@jreback
Copy link
Contributor

jreback commented Aug 24, 2020

thanks @jbrockmendel and @dsaxton

meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Aug 24, 2020
@jbrockmendel jbrockmendel deleted the regr-intersection branch August 25, 2020 00:06
jorisvandenbossche pushed a commit that referenced this pull request Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype Index Related to the Index class or subclasses Regression Functionality that used to work in a prior pandas version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

groupby AssertionError with datetime column name
5 participants