bigframes.geopandas.GeoSeries.dropna#
- GeoSeries.dropna(*, axis: int = 0, inplace: bool = False, how: str | None = None, ignore_index: bool = False) Series#
Return a new Series with missing values removed.
Examples:
Drop NA values from a Series:
>>> ser = bpd.Series([1., 2., np.nan]) >>> ser 0 1.0 1 2.0 2 <NA> dtype: Float64
>>> ser.dropna() 0 1.0 1 2.0 dtype: Float64
Empty strings are not considered NA values.
Noneis considered an NA value.>>> ser = bpd.Series(['2', pd.NA, '', None, 'I stay'], dtype='object') >>> ser 0 2 1 <NA> 2 3 <NA> 4 I stay dtype: string
>>> ser.dropna() 0 2 2 4 I stay dtype: string
- Parameters:
- Returns:
Series with NA entries dropped from it.
- Return type: