2021年10月24日星期日

numpy.nanmax

numpy.nanmax() 

Return the maximum of an array or maximum along an axis, ignoring any NaNs. 

NumPy uses the IEEE Standard for Binary Floating-Point for Arithmetic (IEEE 754). This means that Not a Number is not equivalent to infinity. Positive infinity is treated as a very large number and negative infinity is treated as a very small (i.e. negative) number.

If the input has a integer type the function is equivalent to np.max.

numpy.nanmin()



没有评论: