pandas and NumPy 3 · Loading and inspecting

Get the dimensions

Return the number of rows and columns as a tuple.

df.shape

Official pandas and NumPy 3 documentation

More loading and inspecting commands

All loading and inspecting commands · pandas and NumPy 3 cheatsheet

Was this page helpful?