cudf.Series.has_nulls#

property Series.has_nulls[source]#

Indicator whether Series contains null values.

Returns:
outbool

If Series has at least one null value, return True, if not return False.

Examples

>>> import cudf
>>> series = cudf.Series([1, 2, None, 3, 4])
>>> series
0       1
1       2
2    <NA>
3       3
4       4
dtype: int64
>>> series.has_nulls
True
>>> series.dropna().has_nulls
False