pandas and NumPy 3 · Loading and inspecting
Read a CSV file
Load a CSV into a DataFrame, parsing a column as dates.
df = pd.read_csv("data.csv", parse_dates=["created_at"])
Official pandas and NumPy 3 documentation
More loading and inspecting commands
- Import the libraries
- Read Excel, JSON or Parquet
- 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