@property
def empty(self) -> bool:
    "\n        Returns true if the current DataFrame is empty. Otherwise, returns false.\n\n        Examples\n        --------\n        >>> ps.range(10).empty\n        False\n\n        >>> ps.range(0).empty\n        True\n\n        >>> ps.DataFrame({}, index=list('abc')).empty\n        True\n        "
    return ((len(self._internal.column_labels) == 0) or self._internal.resolved_copy.spark_frame.rdd.isEmpty())
Returns true if the current DataFrame is empty. Otherwise, returns false.

Examples
--------
>>> ps.range(10).empty
False

>>> ps.range(0).empty
True

>>> ps.DataFrame({}, index=list('abc')).empty
True
@property
def empty(self) -> bool:
    "\n        Returns true if the current DataFrame is empty. Otherwise, returns false.\n\n        Examples\n        --------\n        >>> ps.range(10).empty\n        False\n\n        >>> ps.range(0).empty\n        True\n\n        >>> ps.DataFrame({}, index=list('abc')).empty\n        True\n        "
    return ((len(self._internal.column_labels) == 0) or self._internal.resolved_copy.spark_frame.rdd.isEmpty())