pyspark.pandas.Series.empty

property Series.empty

Returns true if the current object is empty. Otherwise, it returns false.

>>> ps.range(10).id.empty
False
>>> ps.range(0).id.empty
True
>>> ps.DataFrame({}, index=list('abc')).index.empty
False