pandas and NumPy 3 · Loading and inspecting
Read Excel, JSON or Parquet
pandas reads many formats with similar functions.
df = pd.read_excel("data.xlsx")
df = pd.read_json("data.json")
df = pd.read_parquet("data.parquet")
Official pandas and NumPy 3 documentation
More loading and inspecting commands
- Import the libraries
- Read a CSV file
- Look at the first rows
- Check columns and types
- Summarize numeric columns
- Get the dimensions
All loading and inspecting commands · pandas and NumPy 3 cheatsheet