-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
API: add return_inverse to pd.unique #24119
Closed
Closed
Changes from 14 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
158d925
Code & whatsnew
h-vetinari 49e42f1
Extend and parametrize unique-test to all numpy dtypes
h-vetinari 9285e8c
Also test inverse in test_unique_all_dtypes
h-vetinari 45eff67
Parametrize test_timedelta64_dtype_array_returned
h-vetinari de22c62
Add inverse to test_timedelta64_dtype_array_returned
h-vetinari 2a4f4a7
Add inverse to test_nan_in_object_array
h-vetinari 39a2e64
Parametrize test_categorical
h-vetinari bfc310f
Add inverse to test_categorical
h-vetinari af7d8f3
Parametrize test_datetime64tz_aware
h-vetinari c089f1f
Add inverse to test_datetime64tz_aware
h-vetinari 78d4758
Remove test case that is covered elsewhere
h-vetinari 006d7ad
Fix DatetimeArray-case in test_datetime64tz_aware; create TODO
h-vetinari b310b48
blackify conflict files
h-vetinari df375ad
Merge remote-tracking branch 'upstream/master' into pd_unique_inv
h-vetinari 786159f
lint
h-vetinari 39f23ff
Merge remote-tracking branch 'upstream/master' into pd_unique_inv
h-vetinari dfee500
fix oversight from merge
h-vetinari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note, this was chopped off of #24108 and the section is intended to be bigger, compare here