@@ -198,8 +198,8 @@ def nanmin(a, axis=None, out=None, keepdims=np._NoValue):
198
198
a : array_like
199
199
Array containing numbers whose minimum is desired. If `a` is not an
200
200
array, a conversion is attempted.
201
- axis : int, optional
202
- Axis along which the minimum is computed. The default is to compute
201
+ axis : { int, tuple of int, None} , optional
202
+ Axis or axes along which the minimum is computed. The default is to compute
203
203
the minimum of the flattened array.
204
204
out : ndarray, optional
205
205
Alternate output array in which to place the result. The default
@@ -306,8 +306,8 @@ def nanmax(a, axis=None, out=None, keepdims=np._NoValue):
306
306
a : array_like
307
307
Array containing numbers whose maximum is desired. If `a` is not an
308
308
array, a conversion is attempted.
309
- axis : int, optional
310
- Axis along which the maximum is computed. The default is to compute
309
+ axis : { int, tuple of int, None} , optional
310
+ Axis or axes along which the maximum is computed. The default is to compute
311
311
the maximum of the flattened array.
312
312
out : ndarray, optional
313
313
Alternate output array in which to place the result. The default
@@ -505,8 +505,8 @@ def nansum(a, axis=None, dtype=None, out=None, keepdims=np._NoValue):
505
505
a : array_like
506
506
Array containing numbers whose sum is desired. If `a` is not an
507
507
array, a conversion is attempted.
508
- axis : int, optional
509
- Axis along which the sum is computed. The default is to compute the
508
+ axis : { int, tuple of int, None} , optional
509
+ Axis or axes along which the sum is computed. The default is to compute the
510
510
sum of the flattened array.
511
511
dtype : data-type, optional
512
512
The type of the returned array and of the accumulator in which the
@@ -596,8 +596,8 @@ def nanprod(a, axis=None, dtype=None, out=None, keepdims=np._NoValue):
596
596
a : array_like
597
597
Array containing numbers whose product is desired. If `a` is not an
598
598
array, a conversion is attempted.
599
- axis : int, optional
600
- Axis along which the product is computed. The default is to compute
599
+ axis : { int, tuple of int, None} , optional
600
+ Axis or axes along which the product is computed. The default is to compute
601
601
the product of the flattened array.
602
602
dtype : data-type, optional
603
603
The type of the returned array and of the accumulator in which the
@@ -791,8 +791,8 @@ def nanmean(a, axis=None, dtype=None, out=None, keepdims=np._NoValue):
791
791
a : array_like
792
792
Array containing numbers whose mean is desired. If `a` is not an
793
793
array, a conversion is attempted.
794
- axis : int, optional
795
- Axis along which the means are computed. The default is to compute
794
+ axis : { int, tuple of int, None} , optional
795
+ Axis or axes along which the means are computed. The default is to compute
796
796
the mean of the flattened array.
797
797
dtype : data-type, optional
798
798
Type to use in computing the mean. For integer inputs, the default
@@ -1217,8 +1217,8 @@ def nanvar(a, axis=None, dtype=None, out=None, ddof=0, keepdims=np._NoValue):
1217
1217
a : array_like
1218
1218
Array containing numbers whose variance is desired. If `a` is not an
1219
1219
array, a conversion is attempted.
1220
- axis : int, optional
1221
- Axis along which the variance is computed. The default is to compute
1220
+ axis : { int, tuple of int, None} , optional
1221
+ Axis or axes along which the variance is computed. The default is to compute
1222
1222
the variance of the flattened array.
1223
1223
dtype : data-type, optional
1224
1224
Type to use in computing the variance. For arrays of integer type
@@ -1359,8 +1359,8 @@ def nanstd(a, axis=None, dtype=None, out=None, ddof=0, keepdims=np._NoValue):
1359
1359
----------
1360
1360
a : array_like
1361
1361
Calculate the standard deviation of the non-NaN values.
1362
- axis : int, optional
1363
- Axis along which the standard deviation is computed. The default is
1362
+ axis : { int, tuple of int, None} , optional
1363
+ Axis or axes along which the standard deviation is computed. The default is
1364
1364
to compute the standard deviation of the flattened array.
1365
1365
dtype : dtype, optional
1366
1366
Type to use in computing the standard deviation. For arrays of
0 commit comments