Search
Search Results
Search finished, found 22 page(s) matching the search query.
- numpy.isfinite
...NumPy reference Routines and objects by topic Logic functions numpy.isfinite...
- numpy.isfinite (Python data, in numpy.isfinite)
- Miscellaneous
...ead find >>> myarr array([1., 0., 0., 3.]) Other related special value functions: isinf(): True if value is inf isfinite(): True if not nan or inf nan_to_num(): Map nan to 0, inf to max float, -inf to min float The following corre...
- NumPy 1.12.1 Release Notes
...logic error… BUG: Fix wrong masked median for some special cases DOC: Place np.average in inline code TST: Work around isfinite inconsistency on i386 BUG: Guard against replacing constants without ‘_’ spec in f2py. BUG: Fix mean for float...
- NumPy 1.17.0 Release Notes
...y.tofile and ndarray.dump now support the pathlib.Path type for the file/fid parameter. Specialized isnan, isinf, and isfinite ufuncs for bool and int types The boolean and integer types are incapable of storing nan and inf values, which...
- NumPy 1.8.0 Release Notes
- NumPy core math library
...n alias for C99 isnan: works for single, double and extended precision, and return a non 0 value if x is a NaN. npy_isfinite(x) This is an alias for C99 isfinite: works for single, double and extended precision, and return a non 0 value...
- numpy.isfinite
...NumPy reference Routines and objects by topic Logic functions numpy.isfinite...
- numpy.isinf
...ive or negative infinity, false otherwise. This is a scalar if x is a scalar. See also isneginf, isposinf, isnan, isfinite Notes NumPy uses the IEEE Standard for Binary Floating-Point for Arithmetic (IEEE 754). Errors result if the...
- numpy.isnan
...boolTrue where x is NaN, false otherwise. This is a scalar if x is a scalar. See also isinf, isneginf, isposinf, isfinite, isnat Notes NumPy uses the IEEE Standard for Binary Floating-Point for Arithmetic (IEEE 754). This means tha...
- numpy.isnat
...ue where x is NaT, false otherwise. This is a scalar if x is a scalar. See also isnan, isinf, isneginf, isposinf, isfinite Examples Try it in your browser! >>> import numpy as np >>> np.isnat(np.datetime64("NaT")) True >>> np.isnat...
- numpy.isneginf
...then as False and True. The return value out is then a reference to that array. See also isinf, isposinf, isnan, isfinite Notes NumPy uses the IEEE Standard for Binary Floating-Point for Arithmetic (IEEE 754). Errors result if the...
- numpy.isposinf
- numpy.ma.masked_invalid
...an array where invalid values occur (NaNs or infs). This function is a shortcut to masked_where, with condition = ~(np.isfinite(a)). Any pre-existing mask is conserved. Only applies to arrays with a dtype where NaNs or infs make sense (i.e...
- numpy.nan_to_num
- numpy.nanmax
- numpy.nanmin
- numpy.nansum
- npy_half_isfinite (C function, in NumPy core math library)
- npy_isfinite (C macro, in NumPy core math library)
- Constants
- npy_half_isfinite.h (C function parameter, in NumPy core math library)