maximum_fill_value(obj)
This function is useful for calculating a fill value suitable for taking the maximum of an array with a given dtype.
An object that can be queried for it's numeric type.
If :None:None:`obj`
isn't a suitable numeric type.
The minimum representable value.
Return the minimum value that can be represented by the dtype of an object.
MaskedArray.fill_value
Return current fill value.
minimum_fill_value
The inverse function.
set_fill_value
Set the filling value of a masked array.
>>> import numpy.ma as maThis example is valid syntax, but we were not able to check execution
... a = np.int8()
... ma.maximum_fill_value(a) -128
>>> a = np.int32()
... ma.maximum_fill_value(a) -2147483648
An array of numeric data can also be passed.
This example is valid syntax, but we were not able to check execution>>> a = np.array([1, 2, 3], dtype=np.int8)This example is valid syntax, but we were not able to check execution
... ma.maximum_fill_value(a) -128
>>> a = np.array([1, 2, 3], dtype=np.float32)See :
... ma.maximum_fill_value(a) -inf
The following pages refer to to this document either explicitly or contain code examples using this.
numpy.ma.core.set_fill_value
numpy.ma.core.minimum_fill_value
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them