How pandas-dev/pandas works
pandas is a labeled-data analysis toolkit. A typical workflow starts with an analyst calling the public API, optionally reading tabular data, constructing DataFrame or Series objects, then aligning, indexing, transforming, grouping, windowing, or evaluating expressions before returning labeled results. The tree also documents broad file/database I/O, time-series support, plotting, missing-data handling, reshaping, and interchange. The graph emphasizes sampled runtime modules; several capability nodes have limited wiring because their implementations were not sampled.
Main entry points: frame.py DataFrame · io/api.py I/O API · series.py Series · core/api.py Public API
Components 26
Public API
- Public API
pandas/core/api.py - I/O API
pandas/io/api.py
Data Model
- DataFrame
pandas/core/frame.py - Series
pandas/core/series.py - NDFrame Base
pandas/core/generic.py - Labeled Indexes
pandas/core/indexes/base.py - Block Storage
pandas/core/internals/managers.py - Dtype Inference
pandas/core/dtypes/inference.py
Computation
- Alignment Ops
pandas/core/ops/dispatch.py - Expression API
pandas/core/computation/api.py - Expression Engines
pandas/core/computation/engines.py
Data I/O
- Reader Dispatch
pandas/io/parsers/readers.py - Python Parser
pandas/io/parsers/python_parser.py - Native Parser
pandas/_libs/src/parser/pd_parser.c - Excel I/O
pandas/io/excel/_base.py - SQL I/O
pandas/io/sql.py - HDF5 I/O
pandas/io/pytables.py
Specialized Analysis
- Indexing
pandas/core/indexing.py - GroupBy Analysis
pandas/core/groupby/groupby.py - Reshape Operations
pandas/core/reshape/api.py - Window Statistics
pandas/core/window/rolling.py - Time Series
pandas/core/tools/datetimes.py - Plotting
pandas/plotting/_core.py
Other components
- Analyst
- NumExpr
- HDF5 Store
Connections 28
- Analyst → Public API: invokes
- Public API → DataFrame: constructs
- Public API → Series: constructs
- Public API → I/O API: dispatches
- I/O API → Reader Dispatch: dispatches
- Reader Dispatch → Python Parser: parses
- Python Parser → DataFrame: returns
- DataFrame → NDFrame Base: inherits
- Series → NDFrame Base: inherits
- DataFrame → Block Storage: stores
- Series → Block Storage: stores
- DataFrame → Labeled Indexes: uses
- Series → Labeled Indexes: uses
- Block Storage → Dtype Inference: infers
- DataFrame → Alignment Ops: dispatches
- Series → Alignment Ops: dispatches
- Expression API → Expression Engines: evaluates
- Expression Engines → NumExpr: evaluates
- DataFrame → Indexing: indexes
- DataFrame → GroupBy Analysis: groups
- DataFrame → Reshape Operations: reshapes
- DataFrame → Window Statistics: windows
- DataFrame → Time Series: dates
- DataFrame → Plotting: plots
- I/O API → Excel I/O: dispatches
- I/O API → SQL I/O: dispatches
- I/O API → HDF5 I/O: dispatches
- HDF5 I/O → HDF5 Store: reads/writes