A 1-D array indicating if each value is missing.
In most cases, this should return a NumPy ndarray. For exceptional cases like SparseArray
, where returning an ndarray would be expensive, an ExtensionArray may be returned.
Notes
If returning an ExtensionArray, then
na_values._is_boolean
should be True
na_values should implement ExtensionArray._reduce()
na_values.any
and na_values.all
should be implemented
Examples
>>> arr = pd.array([1, 2, np.nan, np.nan]) >>> arr.isna() array([False, False, True, True])
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4