pandas

The Python DataFrame library for fast, flexible, and expressive data analysis and manipulation.

Library
PyPI
v3.1.0
50,259 stars
BSD 3-Clause License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
98 /100 Excellent
Development Activity 100
Maintenance 96
Community 96
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
84 /100 Excellent
Architecture 94
Code Quality 92
Innovation 88
Learning Curve 62

pandas is the de facto standard library for tabular and time-series data in Python, providing the DataFrame and Series structures that most of the Python data ecosystem — from Jupyter notebooks to production ETL pipelines — is built on top of. It handles labeled data alignment, missing-value handling, group-by aggregation, merging/joining, reshaping, and time-series resampling with an API that’s grown into a de facto standard imitated by libraries like Polars and Dask.

Under the hood, performance-critical operations (hashing, grouping, indexing, joins) are implemented in Cython and C, wrapped by a Python-facing API that interoperates directly with NumPy arrays and, increasingly, Arrow-backed extension types. It’s used everywhere from one-off data exploration scripts to the core of production data pipelines at companies of every size.

What You Get

  • DataFrame and Series objects with label-based indexing, automatic data alignment, and hierarchical (MultiIndex) support
  • Robust I/O for CSV, Excel, JSON, SQL, Parquet, HDF5, and other flat-file and database formats
  • Powerful split-apply-combine group-by functionality for aggregating and transforming datasets
  • Flexible reshaping and pivoting (melt, pivot_table, stack/unstack) for wide/long conversions
  • Built-in time-series tooling: date-range generation, frequency conversion, resampling, and rolling-window statistics
  • Vectorized, NumPy-backed numerical operations with nullable and Arrow-backed extension dtypes

Common Use Cases

  • Exploratory data analysis and cleaning in Jupyter notebooks ahead of modeling or visualization
  • ETL and batch data pipelines that ingest CSV/SQL/Parquet sources, transform them, and write results downstream
  • Feature engineering and preprocessing for machine-learning workflows feeding into scikit-learn or similar
  • Financial and time-series analysis — resampling, rolling statistics, and date-aligned joins across series
  • Ad hoc reporting and aggregation over tabular data pulled from databases or APIs

Under The Hood

Architecture pandas is organized around two public data structures, Series (pandas/core/series.py) and DataFrame (pandas/core/frame.py, ~19.5k lines), both subclassing shared behavior in NDFrame (pandas/core/generic.py, ~12.7k lines) for indexing, alignment, and I/O dispatch. Below the public API, pandas/core/internals manages the actual data as a BlockManager of homogeneously-typed blocks so mixed-dtype DataFrames avoid the overhead of a fully object-typed 2-D array, and pandas/_libs (Cython/C extension modules — algos, groupby, hashtable, indexing, internals, tslibs) implements the performance-critical inner loops for hashing, grouping, and index alignment that the Python layer calls into. I/O for each format lives under pandas/io (csv, excel, sql, parquet, json, etc.), each producing a DataFrame through the same construction path. Tech Stack Core dependencies are NumPy (array backend and dtype system) and python-dateutil (date parsing), with tzdata required on Windows/Emscripten; the build uses meson-python plus Cython (>3.1,<4) to compile the _libs extension modules, and versioneer for version management from git tags. Optional extras (pandas[computation], pandas[performance], pandas[plot], etc., declared in pyproject.toml) pull in numexpr, bottleneck, matplotlib, pyarrow, and other domain-specific dependencies without forcing them on every installation. Code Quality The test suite under pandas/tests spans 1,124+ files covering the public API surface, dtype edge cases, and platform-specific behavior; CI (unit-tests.yml) runs this matrix across Python and NumPy versions with coverage tracked via Codecov. Core modules consistently use from __future__ import annotations with an accompanying typings/ stub directory and a [tool.mypy] configuration enforcing static analysis over the pandas and typings trees, and a pyright_reportGeneralTypeIssues.json baseline for incremental Pyright adoption — signals of a codebase actively tightening its type-safety net despite its size and age. API Design The Series/DataFrame method surface favors chainable, vectorized operations (.groupby().agg(), .merge(), .pivot_table()) over explicit loops, and label-based indexing (.loc/.iloc) is consistent across both structures. The tradeoff for that breadth is a large API surface with historically accumulated method aliases and configuration options (pandas.options), which raises the learning curve for newcomers even though the official documentation and 30k+ Stack Overflow-tagged questions make most patterns easy to look up.

Used by 61 apps in this directory

Go
93%
MIT

NornicDB

AI Development · AI Memory · Databases

916

A single graph+vector+temporal database for AI workloads — Neo4j-compatible, sub-millisecond hybrid search, and built-in memory decay.

View details
80
Repo Health
82
Technical
71
Dependency
Built with
Go 93%
Updated 6 days ago
TypeScript
60%
MIT

oh-my-claudecode

AI Agents

40,215

Multi-agent orchestration for Claude Code with zero learning curve — install as a plugin or npm CLI and coordinate parallel Claude Code agents through pre-built workflows instead of managing them by hand.

View details
85
Repo Health
70
Technical
73
Dependency
Built with
TypeScript 60%
JavaScript 39%
Updated 6 days ago
TypeScript
26%
AGPL 3.0

Omnivore

Bookmarks Archiving · Knowledge Management · Note Taking

16,356

Self-hosted read-it-later platform with highlights, newsletters, PDFs, and seamless Obsidian and Logseq integration.

View details
90
Repo Health
74
Technical
65
Dependency
Built with
TypeScript 26%
JavaScript 24%
HTML 20%
Updated 1 weeks ago
Python
38%
Other

Open WebUI

AI Agents · AI Assistants

156,607

The extensible, privacy-first AI platform that runs Ollama, OpenAI, and any LLM backend behind a polished, feature-packed web interface.

View details
92
Repo Health
75
Technical
66
Dependency
Built with
Python 38%
Svelte 35%
JavaScript 19%
Updated 6 days ago
Python
100%
Other

OpenBB

Analytics · Databases · Invoicing Finance

74,601

The AI Workspace for Finance: Connect Data, Run AI Agents, Build Analytics

View details
80
Repo Health
80
Technical
65
Dependency
Built with
Python 100%
Updated 1 weeks ago
TypeScript
92%
Other

OpenHands

AI Code Assistants · AI Development

91,695

The self-hosted developer control center for running AI coding agents — locally, in Docker, on VMs, or across cloud backends — with automation workflows for GitHub, Slack, and more.

View details
91
Repo Health
82
Technical
67
Dependency
Built with
TypeScript 92%
Updated 1 weeks ago
Python
73%
AGPL 3.0

OpenViking

AI Development · AI Memory · Databases

40,705

An open-source context database that gives AI agents a unified filesystem for memory, resources, and skills with hierarchical tiered retrieval.

View details
85
Repo Health
75
Technical
64
Dependency
Built with
Python 73%
TypeScript 12%
Rust 11%
Updated 6 days ago
Python
49%
Other

Arize Phoenix

Analytics · Devops · Monitoring

11,976

Open-source AI observability platform for tracing, evaluating, and debugging LLM applications with built-in intelligence and MCP support.

View details
92
Repo Health
88
Technical
67
Dependency
Built with
Python 49%
TypeScript 43%
Updated 6 days ago
Rust
63%
MIT

PostgresML

AI Development · Databases

6,823

Run ML training and LLM inference natively inside PostgreSQL with GPU acceleration — no data movement required.

View details
51
Repo Health
76
Technical
64
Dependency
Built with
Rust 63%
JavaScript 11%
Updated 1 years ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers