nimble.match.allMissing¶
- nimble.match.allMissing(data)¶
Determine if all values in the data are missing.
Return True if every value in the data is 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
Examples
>>> lst = [[float('nan'), None, None], ... [float('nan'), None, None], ... [float('nan'), None, None]] >>> X = nimble.data(lst) >>> allMissing(X) True
>>> lst = [[float('nan'), None, None], ... [float('nan'), 0, None], ... [float('nan'), None, None]] >>> X = nimble.data(lst) >>> allMissing(X) False