Skip to main content
`Ctrl`+`K`

# pandas.Series.isnull

Series.isnull()

  Series.isnull is an alias for Series.isna.

  Detect missing values.

  Return a boolean same-sized object indicating if the values are NA. NA values, such as None or `numpy.NaN`, gets mapped to True values. Everything else gets mapped to False values. Characters such as empty strings `''` or `numpy.inf` are not considered NA values.

  Returns:
    Series

      Mask of bool values for each element in Series that indicates whether an element is an NA value.

  See also

  `Series.isnull`

    Alias of isna.

  `DataFrame.isnull`

    Alias of isna.

  `Series.notna`

    Boolean inverse of isna.

  `DataFrame.notna`

    Boolean inverse of isna.

  `Series.dropna`

    Omit axes labels with missing values.

  `DataFrame.dropna`

    Omit axes labels with missing values.

  `isna`

    Top-level isna.

  Examples

      >>> ser = pd.Series([5, 6, np.nan])
      >>> ser
      0    5.0
      1    6.0
      2    NaN
      dtype: float64

      >>> ser.isnull()
      0    False
      1    False
      2     True
      dtype: bool