Python + pandas

In-memory tabular data analysis and transformation with pandas DataFrames on Python, the default toolkit for single-machine data work.

  • PythonPython
  • pandaspandas
Learning curve
Moderate
Status
Actively developed
Reviewed
November 2026
Best for
  • Exploratory analysis in Jupyter notebooks
  • Cleaning and reshaping CSV, Excel and Parquet files
  • Feature preparation for scikit-learn and other ML libraries
  • Small to medium batch ETL scripts that fit in memory
Not ideal for
  • Multi-terabyte batch processing
  • Recurring medium-sized ETL jobs

Overview

pandas provides the DataFrame and Series types that most Python data work is built on: reading CSV, Parquet, Excel and SQL, then cleaning, joining, reshaping and aggregating in memory. Columns are backed by NumPy arrays or, increasingly, Apache Arrow arrays, and the API is shared by scikit-learn, plotting libraries and notebook tools. Analysts, data scientists and engineers use it for exploration, feature preparation and small to medium batch jobs that fit on one machine.

What's inside

Loading, filtering and grouping data is quick to learn, but indexes, alignment, dtypes, groupby edge cases and writing vectorized instead of row-wise code take longer to get right.

  • Python

    Python

    Language

    The language the code is written in

    Learning: Easy

    Status: Active

  • pandas

    pandas

    Other

    Supporting tool

    Learning: Moderate

    Status: Active

How it works

Data is read from files or databases into an in-memory DataFrame, transformed with vectorized column operations in a single Python process, and written out to files, databases or downstream libraries.

  1. 1.

    Language to other

    Python code calls read_parquet, read_csv or read_sql; pyarrow or the C parser loads the data into DataFrame columns, optionally as Arrow-backed dtypes with dtype_backend="pyarrow".

  2. 2.

    Other to other

    Filters, joins (merge), groupby aggregations, pivots and window operations run as vectorized NumPy or Arrow kernels over whole columns, mostly on a single CPU core.

  3. 3.

    Other to language

    Row-wise apply() or Python loops drop back into the interpreter per row, which is where most slow pandas code spends its time.

  4. 4.

    Other to database

    Results are written with to_parquet, to_sql through SQLAlchemy or ADBC, or handed as arrays to scikit-learn, matplotlib or a reporting tool.

Strengths and drawbacks

Strengths

  • Expressive, widely known API

    groupby, merge, pivot_table, resample and rolling windows cover most tabular transformations in a few lines, and almost every data practitioner already knows the API.

  • Ecosystem hub

    scikit-learn, statsmodels, seaborn, Plotly, Streamlit and most database and cloud SDKs accept or return DataFrames, so pandas is the common interchange format in Python data work.

  • Arrow integration in pandas 2.x and later

    Arrow-backed dtypes give efficient strings and proper missing values for integers and booleans, and pyarrow makes Parquet I/O fast and zero-copy exchange with Polars and DuckDB possible.

  • Copy-on-write semantics

    Copy-on-Write, opt-in during 2.x and the default from pandas 3.0, makes every derived DataFrame behave as a copy, removing SettingWithCopyWarning confusion and avoiding many defensive copies.

Drawbacks

  • Memory-bound, single-machine design

    Whole datasets live in RAM, and intermediate results during joins and string operations often need several times the input size, so jobs that fit in development can crash with out-of-memory errors on real data.

  • Mostly single-threaded

    Most operations use one CPU core. Polars, DuckDB or Spark often run the same transformation much faster on multi-core or distributed hardware.

  • Implicit dtype and index behaviour

    Integers silently become floats when NaN appears with NumPy dtypes, index alignment can produce unexpected NaNs on arithmetic, and object columns hide mixed types until a later step fails.

  • Upgrade behaviour changes

    Moving to Copy-on-Write breaks chained assignment such as df[mask]["col"] = value, and default string dtype and deprecation changes across major versions require test coverage before upgrading.

  • Weak static typing

    Column names and types are not checked by type checkers, so schema drift shows up at runtime; teams add pandera or explicit schema checks to keep pipelines maintainable.

Scores

Editorial ratings out of 10, comparable across every stack in the guide. They are judgement, not benchmarks. How we score

Speed of building
9.0 out of 10, catalog average 7.7

How quickly a team ships features

Ease of learning
7.6 out of 10, catalog average 7.2

Higher means easier to pick up

Scalability
4.4 out of 10, catalog average 7.6

How far it grows before a redesign

Performance
5.4 out of 10, catalog average 7.5

Speed of the running application

Maintainability
5.8 out of 10, catalog average 7.2

How well the codebase ages

Ecosystem
9.6 out of 10, catalog average 8.2

Libraries, hosting, docs and hiring

Flexibility
7.4 out of 10, catalog average 7.4

How many kinds of product it suits

How it scales

Bounded by the memory and single core of one machine; beyond that, teams chunk the work, switch engines, or move to a distributed framework.

Starting outMVP and first users
Notebook or script on a laptop processing CSV or Parquet files of a few hundred megabytes, with results saved to Parquet or a spreadsheet.
GrowingReal traffic, a few engineers
Scheduled pandas jobs on a large-memory VM or container, run by Airflow or cron, using Arrow dtypes, column pruning and categoricals to stay within RAM.
LargeHeavy traffic or data
Data pushed down into DuckDB or the warehouse with only aggregates pulled into pandas, or chunked processing over partitioned Parquet in object storage.
EnterpriseMany teams and regions
pandas kept for exploration and small-scale logic, while production volumes run on Spark (including the pandas API on Spark), Dask or warehouse SQL.

Where it fits

Common projects, from best fit to worst.

  • Exploratory data analysis

    Profile, clean and chart a new dataset in a notebook, iterating quickly with immediate feedback.

    Great fit

  • ML feature preparation

    Join, encode and aggregate tabular features before passing arrays to scikit-learn, XGBoost or PyTorch.

    Great fit

  • Recurring medium-sized ETL jobs

    Works for gigabyte-scale daily files, but memory limits and weak schema enforcement make such jobs fragile as volumes grow.

    Workable

  • Multi-terabyte batch processing

    Data far beyond one machine's RAM needs a distributed engine or a warehouse; pandas would need manual chunking and long runtimes.

    Avoid

Alternatives

Similar stacks, and when you would choose them instead.

Sources

Reviewed on November 19, 2026 against the documentation below. Found something out of date? Suggest a correction. Read our methodology.

Stacks that share technologies with Python + pandas.