pyspark.pandas.Series.is_unique#
- property Series.is_unique#
Return boolean if values in the object are unique
- Returns
- is_uniqueboolean
>>> ps.Series([1, 2, 3]).is_unique ..
- True
>>> ps.Series([1, 2, 2]).is_unique ..
- False
>>> ps.Series([1, 2, 3, None]).is_unique ..
- True