pandas.Series.dropna

Series.dropna(axis=0, inplace=False, **kwargs)

Return Series without null values

Returns:

valid : Series

inplace : boolean, default False

Do operation in place.