Pandas

Data analysis and manipulation library providing DataFrames for working with tabular data

Visit Pandas →
Data Science & MLFeatured

Pandas’ DataFrame is the default way to work with tabular data in Python — reading CSVs or spreadsheets, filtering rows, grouping and aggregating, joining datasets together. If you have “a spreadsheet’s worth of data” and need to do anything beyond opening it in Excel, this is almost always the tool.

Built on top of NumPy (pandas 3 requires NumPy 2, and numeric columns are NumPy arrays underneath; text columns now use pandas’ own str type), and typically the second thing learned after it in a data science learning path — see the Python Learning Roadmap.

Working with spreadsheets? Read and write Excel files in Python covers read_excel, to_excel, openpyxl and the pandas engine change.

pandas 3.1.1 (4 November 2026) requires Python 3.11 or later. See Polars vs pandas for a measured comparison with Polars and NumPy vs pandas for how the two relate.