-
-
Notifications
You must be signed in to change notification settings - Fork 11.9k
ENH add hash based unique #26018
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
ENH add hash based unique #26018
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
2933930
ENH add hash based unique
adrinjalali 8da2e72
getting closer
adrinjalali 961ef5b
trying to expose as a module
adrinjalali a6b1847
trying to create a module
adrinjalali 1f1c36c
fix build
adrinjalali 0bc43c3
...
adrinjalali f94cf89
Merge remote-tracking branch 'upstream/main' into unique-cpp
adrinjalali a37b151
segfault fix, imported numpy
adrinjalali 8f42b0b
getting unique back, refcount issues exist
adrinjalali f56634f
unique works
adrinjalali bce7534
remove header
adrinjalali 0c6c588
cleanups and comments
adrinjalali 9b7d6f6
change type
adrinjalali 85cf692
fix for initialization issue
adrinjalali 3db3349
trying to move module
adrinjalali 8d4b6be
Merge remote-tracking branch 'upstream/main' into unique-cpp
adrinjalali 9e7d671
Revert "trying to move module"
adrinjalali a4e8a29
use unordered_set and use a finally construct to handle exceptions
adrinjalali 6a8c69c
Merge remote-tracking branch 'upstream/main' into unique-cpp
adrinjalali 0c3b889
handle C++ exceptions, and use explicit types
adrinjalali cc39a50
make it C importable
adrinjalali 92adb26
add missing header file
adrinjalali 8b7ad2e
fix skip API test
adrinjalali 8f95240
rename _core.unique to _core._unique
adrinjalali 1d0c596
use _unique name
adrinjalali ed4ea89
Merge remote-tracking branch 'upstream/main' into unique-cpp
adrinjalali 8adbf70
add freethreaded slot
adrinjalali a8e69ff
apply comments from review
adrinjalali cdf3af9
Merge remote-tracking branch 'upstream/main' into unique-cpp
adrinjalali fc1d50e
remove own module, fix segfault
adrinjalali 5dbdf48
raise NotImplementedError instead of returning None
adrinjalali c8b9d22
release and regrab GIL
adrinjalali a9df742
fix GIL issues and compile separately
adrinjalali 5333e80
Merge remote-tracking branch 'upstream/main' into unique-cpp
adrinjalali 3bb7c97
add np_core_dep dependency, hoping it fixes the issue
adrinjalali 95a577b
remove include
adrinjalali 724b794
debug ...
adrinjalali 1abc6b5
debug ...
adrinjalali 214cd06
Py_INCREF needs the GIL
adrinjalali 8c184ab
Merge remote-tracking branch 'upstream/main' into unique-cpp
adrinjalali 113e021
revert debug info in CI
adrinjalali c733f75
Merge highway submodule changes from main
seberg ae0e936
Merge remote-tracking branch 'upstream/main' into unique-cpp
adrinjalali b50e7f3
reviews
adrinjalali 712a5cf
add test for ValueError
adrinjalali 8a45f04
changelog
adrinjalali 4999daa
Merge remote-tracking branch 'upstream/main' into unique-cpp
adrinjalali ab86574
use macro to return notimplemented
adrinjalali 08d7d62
Merge remote-tracking branch 'upstream/main' into unique-cpp
adrinjalali e1e2ddf
Apply suggestions from code review
seberg f96411a
MAINT,ENH: Smaller reorgs/maint and use `sorted=False` for `unique_va…
seberg 2319947
Ensure we don't iterate if iterator is empty (also change thread stat…
seberg e188bf3
DOC: unique_values doc examples may have different order now
seberg 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
Py_INCREF needs the GIL
- Loading branch information
commit 214cd061cdf3e551c5d4db04db35928ab2fab19f
There are no files selected for viewing
This file contains hidden or 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
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.
If there was a C++ exception after this, we would leak it... But, I don't think that is possible, so let's not worry about it.