shape

property DataFrame.shape

A tuple containing the number of rows and columns of the DataFrame.