pandas and NumPy 3 · Loading and inspecting
Check columns and types
Show column names, types, non-null counts and memory use.
df.info()
Official pandas and NumPy 3 documentation
More loading and inspecting commands
- Import the libraries
- Read a CSV file
- Read Excel, JSON or Parquet
- Look at the first rows
- Summarize numeric columns
- Get the dimensions
All loading and inspecting commands · pandas and NumPy 3 cheatsheet