Skip to content

DEPR: Add FutureWarning when matching NaN with NaN in merge/join #37405

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

Closed
wants to merge 3 commits into from

Conversation

phofl
Copy link
Member

@phofl phofl commented Oct 25, 2020

  • xref Joining on a nullable column #32306 (and a few others, will add them later
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

cc @WillAyd

I started with raising a FutureWarning when merging nan on nan. This works, if left_index and right_index are not both True.

If both are True, we are dispatching to the Index methods. Should we deprecate this for indexes too? Additionally, should we remove this for intersection of index in the future too? Will continue after receiving feedback :)

@phofl phofl marked this pull request as draft October 25, 2020 21:17
@github-actions
Copy link
Contributor

This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Nov 25, 2020
@jreback
Copy link
Contributor

jreback commented Jan 9, 2021

not averse to doing this @phofl if you can add a test that shows the warning.

@jreback jreback added Deprecate Functionality to remove in pandas Reshaping Concat, Merge/Join, Stack/Unstack, Explode and removed Stale labels Jan 9, 2021
@github-actions
Copy link
Contributor

This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Feb 10, 2021
@jreback
Copy link
Contributor

jreback commented Feb 11, 2021

@phofl if you can update or close.

@phofl
Copy link
Member Author

phofl commented Feb 12, 2021

Closing this for now, have to evaluate here. To be consistent this would influence a lot of index methods too, if nan should no longer match nan

@phofl phofl closed this Feb 12, 2021
@phofl phofl deleted the 32306 branch April 27, 2023 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas Reshaping Concat, Merge/Join, Stack/Unstack, Explode Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants