Feature Request: Adding standard `settdiffXd` and `intersectXd` functions
See original GitHub issueI think there should be a standard implementation of a settdiffXd
function in numpy. Right now, various answers online are “hackish” in that they all basically convert them to 1D to end up running setdiff1d. The same goes for intersect1d
.
Is there some reason these aren’t standard functions in numpy?
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
numpy.setdiff1d — NumPy v1.24 Manual
Find the set difference of two arrays. Return the unique values in ar1 that are not in ar2. Parameters: ar1array_like. Input array.
Read more >bagel/BAGEL.py at master · hart-lab/bagel - GitHub
A tool from the Bayesian Analysis of Gene EssentiaLity (BAGEL) suite. \b. Calculate fold changes from read count data ...
Read more >Release Notes — NumPy v1.15 Manual
With Python versions containing the lzma module the text IO functions can now transparently read from files with xz or lzma extension. sign ......
Read more >Statistics and Machine Learning in Python - Archive ouverte HAL
input features (company characteristics) and a target feature (yi ∈ 1Y es, ... Our model needs an intercept so we add a column...
Read more >computer stuff | On unicorns and genes
We need some functions to compare haplotypes and individuals: ... That is, we won't really make use of any feature of AlphaSimR except...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What rules would you propose for handling multidimensional inputs?
Ah I know what you mean now - yes thats what I meant all along, always along one dimension/axis, but to support multi-dimensional arrays. Hm - maybe this could be my first opportunity for a code contribution