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
[Feature request] Add nanptp function #13198
Comments
Hi Gabriel, I will take a go at this over the weekend |
Having this linked somewhere would be nice, but I think it's too niche to include in numpy. we only want |
From looking at the existing |
If we decide to move forward with this one, I just opened a PR with the function implementation and corresponding tests. |
We discussed this in the triage meeting. Most people were happy with rejecting this feature request. @charris abstained, @seberg said he could imagine a separate namespace. The main rationale here is that we don't want more nan-functions in general; we have the most commonly used ones, and filling up the main namespace with more nan-functions isn't justified (there's a significant cost for adding anything to the namespace at this point. In particular for this one: A separate package like Thanks for suggesting this @Gabriel-p, and for the PR @yliapis |
Thank you for the detailed explanation @rgommers |
There is a ptp function but it will fail when there are
nan
values in the array.The text was updated successfully, but these errors were encountered: