numpy.ma.maximum_fill_value()

numpy.ma.maximum_fill_value

numpy.ma.maximum_fill_value(obj) [source]

Return the minimum value that can be represented by the dtype of an object.

This function is useful for calculating a fill value suitable for taking the maximum of an array with a given dtype.

登录查看完整内容
Parameters:

obj : {ndarray, dtype}

An object that can be queried for it’s numeric type.

Returns: