[python] Python - Dimension of Data Frame

New to Python.

In R, you can get the dimension of a matrix using dim(...). What is the corresponding function in Python Pandas for their data frame?

This question is related to python pandas

The answer is


df.shape, where df is your DataFrame.


Similar questions with python tag:

Similar questions with pandas tag: