nanmin
Minimize along the given axes, skipping NaN
values. Uses all axes by default.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
x
|
SparseArray
|
The array to perform the reduction on. |
required |
axis
|
Union[int, Iterable[int]]
|
The axes along which to minimize. Uses all axes by default. |
None
|
keepdims
|
bool_
|
Whether or not to keep the dimensions of the original array. |
False
|
dtype
|
dtype
|
The data type of the output array. |
None
|
Returns:
Type | Description |
---|---|
COO
|
The reduced output sparse array. |
See Also
sparse.COO.min
: Function withoutNaN
skipping.numpy.nanmin
: Equivalent Numpy function.
Source code in sparse/numba_backend/_coo/common.py
455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 |
|