pandas is an open-source Python library for working with structured, labeled data such as tables, spreadsheets, and time series. It provides the DataFrame and Series data structures that most tabular data analysis in Python is built on top of, aiming to be the fundamental building block for practical, real-world data work in the language. It's aimed at data analysts, data scientists, and engineers who need to clean, manipulate, merge, or explore tabular data, from quick exploratory scripts run in a notebook to production data pipelines that run on a schedule.
NaN, NA, or NaT, across both floating-point and non-floating-point data.pandas is a strong fit for cleaning and reshaping messy tabular data (CSV exports, Excel files, SQL query results) before analysis, and for exploratory data analysis where you need to slice, group, and aggregate a dataset quickly. It also handles time series work well, including resampling and rolling-window calculations, which shows up often in finance and operations analytics; pandas itself started at a quantitative hedge fund in 2008 and has been under active development since. It's equally useful as the data-wrangling layer inside a larger Python application, feeding cleaned data into a model, a report, or a dashboard.
It's not the right tool when a dataset is far larger than available memory, since pandas operates in memory rather than out-of-core or distributed by default; at that scale, tools built for distributed processing are a better match. It's also a programming library, not a GUI application, so it assumes you're comfortable writing Python rather than clicking through an interface, and it expects some familiarity with NumPy-style array thinking to get the most out of it.
The standard way to install pandas is from PyPI or Conda:
# conda
conda install -c conda-forge pandas
# or PyPI
pip install pandas
Required dependencies are NumPy and python-dateutil; tzdata is additionally required on Windows and Emscripten. To install from source instead, Cython is needed in addition to the normal dependencies:
pip install cython
Then, from the pandas directory (the same one this README lives in after cloning the repository):
pip install .
Or for an editable, development install, which is useful if you're contributing to pandas itself:
python -m pip install -ve . --no-build-isolation --config-settings editable-verbose=true
The official documentation covers the minimum supported versions of required, recommended, and optional dependencies in more detail than this README does.