Go to file
pre-commit-ci[bot] 7e681836d4
[pre-commit.ci] pre-commit autoupdate (#55356)
updates:
- [github.com/pylint-dev/pylint: v3.0.0a7 → v3.0.0b0](https://github.com/pylint-dev/pylint/compare/v3.0.0a7...v3.0.0b0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-02 10:35:25 -07:00
.circleci BLD: Build wheels for Python 3.12 (#55010) 2023-09-07 09:28:45 -07:00
.github Bump pypa/cibuildwheel from 2.16.0 to 2.16.1 (#55350) 2023-10-02 10:34:26 -07:00
LICENSES CLN: Update LICENCES and reference where used (#54743) 2023-08-25 10:18:29 -07:00
asv_bench ASV: add GroupBy.sum benchmark with timedelta and integer types (#55273) 2023-09-25 11:20:52 -07:00
ci CI: Pin matplotlib < 3.8 (#55210) 2023-09-20 06:53:16 -04:00
doc REGR: join segfaulting for arrow string with nulls (#55348) 2023-10-02 09:52:26 -07:00
gitpod BLD: Update Gitpod to use docker installation flow and pip/meson for setup (#54046) 2023-07-11 11:09:53 -07:00
pandas REGR: join segfaulting for arrow string with nulls (#55348) 2023-10-02 09:52:26 -07:00
scripts DEPR: ArrayManager (#55044) 2023-09-19 18:53:51 -07:00
typings TYP: update mypy and small pyi fixes from ruff (#54085) 2023-07-13 09:08:57 -07:00
web PDEP-12: compact-and-reversible-JSON-interface.md (#53714) 2023-10-02 12:04:15 -04:00
.devcontainer.json Streamline docker usage (#49981) 2022-12-02 10:03:18 +00:00
.gitattributes BLD: Shrink sdist/wheel sizes (#54052) 2023-07-31 11:11:43 -07:00
.gitignore Improved documentation for extension development (#53380) 2023-05-25 09:27:44 -07:00
.gitpod.yml BLD: Update Gitpod to use docker installation flow and pip/meson for setup (#54046) 2023-07-11 11:09:53 -07:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate (#55356) 2023-10-02 10:35:25 -07:00
AUTHORS.md CI add end-of-file-fixer (#36826) 2020-10-06 18:54:41 -04:00
CITATION.cff updated CITATION.cff (#54241) 2023-07-24 10:14:41 -07:00
Dockerfile CI: Use regular solver for docker build (#50341) 2022-12-19 13:43:01 +00:00
LICENSE Update copyright year (#51065) 2023-01-30 10:47:11 -08:00
MANIFEST.in CI: Build wheel from sdist (#53087) 2023-06-01 16:12:22 -07:00
README.md DOC: Update build instructions in the README (#54615) 2023-08-18 12:25:02 +02:00
codecov.yml CI/DOC: replace master -> main branch (#45336) 2022-01-12 19:38:43 -05:00
environment.yml CI: Pin matplotlib < 3.8 (#55210) 2023-09-20 06:53:16 -04:00
generate_pxi.py BLD: Setup meson builds (#49115) 2023-05-09 07:47:54 -07:00
generate_version.py BLD: improvements to meson.build files (#54949) 2023-09-08 10:31:07 -04:00
meson.build CI: Unpin Cython (#54784) 2023-09-15 22:03:21 -04:00
pyproject.toml Update pyproject.toml - replace `output_formatting` with `output-formatting` (#55275) 2023-09-25 17:11:06 -07:00
pyright_reportGeneralTypeIssues.json ENH: Add separate numba kernels for groupby aggregations (#53731) 2023-08-10 13:57:13 -07:00
requirements-dev.txt CI: Pin matplotlib < 3.8 (#55210) 2023-09-20 06:53:16 -04:00
setup.py Revert Cython upgrade (#54497) 2023-08-11 17:47:55 +02:00

README.md



pandas: powerful Python data analysis toolkit

Testing CI - Test Coverage
Package PyPI Latest Release PyPI Downloads Conda Latest Release Conda Downloads
Meta Powered by NumFOCUS DOI License - BSD 3-Clause Slack

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

Here are just a few of the things that pandas does well:

  • Easy handling of 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 from DataFrame and higher dimensional objects
  • Automatic and explicit data 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 functionality to perform split-apply-combine operations on data sets, for both aggregating and transforming data
  • Make it easy to convert ragged, differently-indexed data in other Python and NumPy data structures into DataFrame objects
  • Intelligent label-based slicing, fancy indexing, and subsetting of large data sets
  • Intuitive merging and joining data sets
  • Flexible reshaping and pivoting of data sets
  • Hierarchical labeling of axes (possible to have multiple labels per tick)
  • Robust IO tools for loading data from flat files (CSV and delimited), Excel files, databases, and saving/loading data from the ultrafast HDF5 format
  • Time series-specific functionality: date range generation and frequency conversion, moving window statistics, date shifting and lagging

Where to get it

The source code is currently hosted on GitHub at: https://github.com/pandas-dev/pandas

Binary installers for the latest released version are available at the Python Package Index (PyPI) and on Conda.

# conda
conda install -c conda-forge pandas
# or PyPI
pip install pandas

The list of changes to pandas between each release can be found here. For full details, see the commit logs at https://github.com/pandas-dev/pandas.

Dependencies

See the full installation instructions for minimum supported versions of required, recommended and optional dependencies.

Installation from sources

To install pandas from source you need Cython in addition to the normal dependencies above. Cython can be installed from PyPI:

pip install cython

In the pandas directory (same one where you found this file after cloning the git repo), execute:

pip install .

or for installing in development mode:

python -m pip install -ve . --no-build-isolation --config-settings=editable-verbose=true

See the full instructions for installing from source.

License

BSD 3

Documentation

The official documentation is hosted on PyData.org.

Background

Work on pandas started at AQR (a quantitative hedge fund) in 2008 and has been under active development since then.

Getting Help

For usage questions, the best place to go to is StackOverflow. Further, general questions and discussions can also take place on the pydata mailing list.

Discussion and Development

Most development discussions take place on GitHub in this repo, via the GitHub issue tracker.

Further, the pandas-dev mailing list can also be used for specialized discussions or design issues, and a Slack channel is available for quick development related questions.

There are also frequent community meetings for project maintainers open to the community as well as monthly new contributor meetings to help support new contributors.

Additional information on the communication channels can be found on the contributor community page.

Contributing to pandas

Open Source Helpers

All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.

A detailed overview on how to contribute can be found in the contributing guide.

If you are simply looking to start working with the pandas codebase, navigate to the GitHub "issues" tab and start looking through interesting issues. There are a number of issues listed under Docs and good first issue where you could start out.

You can also triage issues which may include reproducing bug reports, or asking for vital information such as version numbers or reproduction instructions. If you would like to start triaging issues, one easy way to get started is to subscribe to pandas on CodeTriage.

Or maybe through using pandas you have an idea of your own or are looking for something in the documentation and thinking this can be improved...you can do something about it!

Feel free to ask questions on the mailing list or on Slack.

As contributors and maintainers to this project, you are expected to abide by pandas' code of conduct. More information can be found at: Contributor Code of Conduct


Go to Top