pandas.DataFrame.shape

DataFrame.shape

Return a tuple representing the dimensionality of the DataFrame.