-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add more nan functions #2
Comments
Yes, this package would be a reasonable home for those functions. The |
I guess the current use cases of |
Are there any cases where ignore-nans and return-nan-instead-of-throwing are in conflict/ambiguous? |
Not that I can think of so far. |
Thanks for the feedback! maximum Does someone know the equivalent of the numpy functions argmax and argmin in Julia? |
I created a pull request to implement the function sum: |
|
I created another pull request with the rest of the functions: |
This is done in release 0.1.0 . |
As discussed in JuliaLang/julia#12563 (comment) ,
it would be useful to have a Julia equivalent of the following numpy functions:
nanargmax nanargmin nanmax nanmin
nansum nanmean nanstd nanvar
These functions calculate the maximum etc of an array of values, ignoring any NaN's
(instead of promoting them, what Julia will do shortly, probably in the 0.4 release).
Please comment, if this is the right package to add these functions!
The text was updated successfully, but these errors were encountered: