@property
def shape(self) -> Tuple[(int, int)]:
    "\n        Return a tuple representing the dimensionality of the DataFrame.\n\n        Examples\n        --------\n        >>> df = ps.DataFrame({'col1': [1, 2], 'col2': [3, 4]})\n        >>> df.shape\n        (2, 2)\n\n        >>> df = ps.DataFrame({'col1': [1, 2], 'col2': [3, 4],\n        ...                    'col3': [5, 6]})\n        >>> df.shape\n        (2, 3)\n        "
    return (len(self), len(self.columns))
Return a tuple representing the dimensionality of the DataFrame.

Examples
--------
>>> df = ps.DataFrame({'col1': [1, 2], 'col2': [3, 4]})
>>> df.shape
(2, 2)

>>> df = ps.DataFrame({'col1': [1, 2], 'col2': [3, 4],
...                    'col3': [5, 6]})
>>> df.shape
(2, 3)
@property
def shape(self) -> Tuple[(int, int)]:
    "\n        Return a tuple representing the dimensionality of the DataFrame.\n\n        Examples\n        --------\n        >>> df = ps.DataFrame({'col1': [1, 2], 'col2': [3, 4]})\n        >>> df.shape\n        (2, 2)\n\n        >>> df = ps.DataFrame({'col1': [1, 2], 'col2': [3, 4],\n        ...                    'col3': [5, 6]})\n        >>> df.shape\n        (2, 3)\n        "
    return (len(self), len(self.columns))