nimble.match.anyMissing

nimble.match.anyMissing(data)

Determine if any values in the data are missing.

Return True if one or more values in the data are considered to be missing. Missing values in Nimble are None and (python or numpy) nan values.

Parameters:

data (Nimble Base object)

Returns:

bool

See also

allMissing, missing

Examples

>>> lst = [[1, 1, 1],
...        [1, 1, 1],
...        [1, None, 1]]
>>> X = nimble.data(lst)
>>> anyMissing(X)
True
>>> lst = [['A', 'B', 'C'],
...        ['A', 'B', 'C'],
...        ['A', 'B', 'C']]
>>> X = nimble.data(lst)
>>> anyMissing(X)
False