@property<EOL><INDENT>def shape(self):<DEDENT>
return len(self.index), len(self.columns)<EOL>
Return a tuple representing the dimensionality of the DataFrame.

See Also
--------
ndarray.shape

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

>>> df = pd.DataFrame({'col1': [1, 2], 'col2': [3, 4],
...                    'col3': [5, 6]})
>>> df.shape
(2, 3)