Skip to content

Commit

Permalink
DOC: Add a release note for the new nan<x>parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Bas van Beek committed Oct 4, 2021
1 parent 986e22a commit ffb6779
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions doc/release/upcoming_changes/20027.improvement.rst
@@ -0,0 +1,17 @@
Missing parameters have been added to the ``nan<x>`` functions
--------------------------------------------------------------
A number of the ``nan<x>`` functions previously lacked parameters that were
present in their ``<x>``-based counterpart, *e.g.* the ``where`` parameter was
present in `~numpy.mean` but absent from `~numpy.nanmean`.

The following parameters have now been added to the ``nan<x>`` functions:

* nanmin: ``initial`` & ``where``
* nanmax: ``initial`` & ``where``
* nanargmin: ``keepdims`` & ``out``
* nanargmax: ``keepdims`` & ``out``
* nansum: ``initial`` & ``where``
* nanprod: ``initial`` & ``where``
* nanmean: ``where``
* nanvar: ``where``
* nanstd: ``where``

0 comments on commit ffb6779

Please sign in to comment.