is_masked(x)
Accepts any object as input, but always returns False unless the input is a MaskedArray containing masked values.
Array to check for masked values.
Determine whether input has masked values.
>>> import numpy.ma as maThis example is valid syntax, but we were not able to check execution
... x = ma.masked_equal([0, 1, 0, 2, 3], 0)
... x masked_array(data=[--, 1, --, 2, 3], mask=[ True, False, True, False, False], fill_value=0)
>>> ma.is_masked(x) TrueThis example is valid syntax, but we were not able to check execution
>>> x = ma.masked_equal([0, 1, 0, 2, 3], 42)This example is valid syntax, but we were not able to check execution
... x masked_array(data=[0, 1, 0, 2, 3], mask=False, fill_value=42)
>>> ma.is_masked(x) False
Always returns False if x
isn't a MaskedArray.
>>> x = [False, True, False]This example is valid syntax, but we were not able to check execution
... ma.is_masked(x) False
>>> x = 'a string'See :
... ma.is_masked(x) False
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