pandas.NA#

pandas.NA = <NA>#

NA (“not available”) missing value indicator.

The NA singleton is a missing value indicator defined by pandas. It is used by the nullable extension dtypes, such as the nullable integer, floating, boolean and "string" dtypes (the default str dtype uses NaN instead).

See also

numpy.nan

Floating point representation of Not a Number (NaN) for numerical data.

isna

Detect missing values for an array-like object.

notna

Detect non-missing values for an array-like object.

DataFrame.fillna

Fill missing values in a DataFrame.

Series.fillna

Fill missing values in a Series.

Examples

>>> pd.NA
<NA>
>>> True | pd.NA
True
>>> True & pd.NA
<NA>
>>> pd.NA != pd.NA
<NA>
>>> pd.NA == pd.NA
<NA>
>>> True | pd.NA
True