pandas-dev /pandas
Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
★ 50,564⑂ 20,738👁 1,149⑃ 39,858● 28,670▤ 126◈ 2
50,564
stars
+17
20,738
forks
1,149
watchers
39,858
prs
28,670
issues
126
releases
2
discussions
README
-----------------
pandas: A Powerful Python Data Analysis Toolkit
| | |
| --- | --- |
| Testing | |
| Package | |
| Meta | |
What is it?
pandas is a Python package that provides fast, flexible, and expressive data
structures designed to make working with "relational" or "labeled" data both
easy and intuitive. It aims to be the fundamental high-level building block for
doing practical, real-world data analysis in Python. Additionally, it has
the broader goal of becoming the most powerful and flexible open-source data
analysis/manipulation tool available in any language. It is already well on
its way towards this goal.
Table of Contents
- Main Features
- Where to get it
- Dependencies
- Installation from sources
- License
- Documentation
- Background
- Getting Help
- Discussion and Development
- Contributing to pandas
Main Features
Here are just a few of the things that pandas does well:
- Easy handling of [missing data][missing-data] (represented as
NaN, NA, or NaT) in floating point as well as non-floating point data
- Size mutability: columns can be [inserted and
deleted][insertion-deletion] from DataFrame and higher dimensional
objects
- Automatic and explicit [data alignment][alignment]: objects can
be explicitly aligned to a set of labels, or the user can simply
ignore the labels and let Series, DataFrame, etc. automatically
align the data for you in computations
- Powerful, flexible [group by][groupby] functionality to perform
split-apply-combine operations on data sets, for both aggregating
and transforming data
- Make it [easy to convert][conversion] ragged,
differently-indexed data in other Python and NumPy data structures
into DataFrame objects
- Intelligent label-based [slicing][slicing], [fancy
indexing][fancy-indexing], and [subsetting][subsetting] of
large data sets
- Intuitive [merging][merging] and [joining][joining] data
sets
- Flexible [reshaping][reshape] and [pivoting][pivot-table] of
data sets
- [Hierarchical][mi] labeling of axes (possible to have multiple
labels per tick)
- Robust I/O tools for loading data from [flat files][flat-files]
(CSV and delimited), [Excel files][excel], [databases][db],
and saving/loading data from the ultrafast [HDF5 format][hdfstore]
- [Time series][timeseries]-specific functionality: date range
generation and frequency conversion, moving window statistics,
date shifting and lagging
[missing-data]: https://pandas.pydata.org/pandas-docs/stable/user_guide/missing_data.html
[insertion-deletion]: https://pandas.pydata.org/pandas-docs/stable/user_guide/dsintro.htmlcolumn-selection-addition-deletion
[alignment]: https://pandas.pydata.org/pandas-docs/stable/user_guide/dsintro.html?highlight=alignmentintro-to-data-structures
[groupby]: https://pandas.pydata.org/pandas-docs/stable/user_guide/groupby.htmlgroup-by-split-apply-combine
[conversion]: https://pandas.pydata.oTop issues
#32265API: distinguish NA vs NaN in floating dtypes124 comments · 2020-02-26#24046API: capabilities of df.set_index80 comments · 2018-12-02#28283Various methods don't call call __finalize__65 comments · 2019-09-04#28095ROADMAP: Consistent missing value handling with new NA scalar65 comments · 2019-08-22#10030weighted mean55 comments · 2015-04-30#45252ENH: Add set of tests to type check the public APIs49 comments · 2022-01-07#52431DOC: Fix docs for various offset constructors45 comments · 2023-04-05#22824API/ENH: overhaul/unify/improve .unique45 comments · 2018-09-24
Discussions
#71944How should pandas-stubs balance typing precision, overload complexity, and runtime behavior for MultiIndex indexing?0 comments · 2026-11-07#71943pandas Community Engagement & Networking0 comments · 2026-11-07
Latest release
pandas 3.1.1 v3.1.1 2026-11-04We are pleased to announce the release of pandas 3.1.1.
This is a patch release in the 3.1.x series and includes some regression fixes and bug fixes. We recommend that all users of the 3.1.x series upgrade to this version.
See the full whatsnew for a list of all the changes.
The release can be installed from PyPI:
python -m pip install --upgrade pandas==3.1.
Or from conda-forge
conda install -c conda-forge pandas=3.1
Please report any issues with the release on the pandas issue tracker.
Thanks to all the contributors who made this release possible.