Skip to content

BUG: DTI/TDI intersection result names #33904

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 3 commits into from
May 1, 2020

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

Also improve _can_fast_intersect to catch the missing case where we can fast-intersect. Identified that most of the remaining places where we do freq inference are not tested, so may be removeable/deprecateable

@jreback jreback added the Frequency DateOffsets label May 1, 2020
@jreback jreback added this to the 1.1 milestone May 1, 2020
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

lgtm. trivial comment (followup ok), does this need a whatsnew? e.g. is it user visible

# so intersection will preserve freq
return True

if isinstance(self.freq, Tick):
Copy link
Contributor

Choose a reason for hiding this comment

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

could be an elif

@jbrockmendel
Copy link
Member Author

does this need a whatsnew?

yes, just pushed with a note added

Identified that most of the remaining places where we do freq inference are not tested, so may be removeable/deprecateable

on board with this for follow-up?

@jreback jreback merged commit 29c820f into pandas-dev:master May 1, 2020
@jbrockmendel jbrockmendel deleted the setops-freq branch May 1, 2020 20:29
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
Frequency DateOffsets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants