df
The dimensions of the dataset.
df.shape
(6, 4)
The number of rows in the DataFrame.
len(df)
6
The number of rows times number of columns.
df.size
24
Number of dimensions of the dataset.
df.ndim
2