Skip to main content

Powerful data structures for data analysis, time series, and statistics

Project description



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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pandas-2.1.0.tar.gz (4.3 MB view details)

Uploaded Source

Built Distributions

pandas-2.1.0-cp311-cp311-win_amd64.whl (11.0 MB view details)

Uploaded CPython 3.11 Windows x86-64

pandas-2.1.0-cp311-cp311-musllinux_1_1_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

pandas-2.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.6 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pandas-2.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (15.2 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

pandas-2.1.0-cp311-cp311-macosx_11_0_arm64.whl (11.2 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pandas-2.1.0-cp311-cp311-macosx_10_9_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pandas-2.1.0-cp310-cp310-win_amd64.whl (11.1 MB view details)

Uploaded CPython 3.10 Windows x86-64

pandas-2.1.0-cp310-cp310-musllinux_1_1_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

pandas-2.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.7 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pandas-2.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (15.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

pandas-2.1.0-cp310-cp310-macosx_11_0_arm64.whl (11.3 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pandas-2.1.0-cp310-cp310-macosx_10_9_x86_64.whl (12.1 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pandas-2.1.0-cp39-cp39-win_amd64.whl (11.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

pandas-2.1.0-cp39-cp39-musllinux_1_1_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

pandas-2.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.7 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pandas-2.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (15.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

pandas-2.1.0-cp39-cp39-macosx_11_0_arm64.whl (11.3 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pandas-2.1.0-cp39-cp39-macosx_10_9_x86_64.whl (12.2 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

Details for the file pandas-2.1.0.tar.gz.

File metadata

  • Download URL: pandas-2.1.0.tar.gz
  • Upload date:
  • Size: 4.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pandas-2.1.0.tar.gz
Algorithm Hash digest
SHA256 62c24c7fc59e42b775ce0679cfa7b14a5f9bfb7643cfbe708c960699e05fb918
MD5 d041aedc1cac7aadb5f3551ae294de47
BLAKE2b-256 6f31a4a8e7367856d9584d0332793edfe631182a9cca885f12dbe2dd77c10c4a

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pandas-2.1.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 11.0 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pandas-2.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d53c8c1001f6a192ff1de1efe03b31a423d0eee2e9e855e69d004308e046e694
MD5 a7c636696d1846979b7f5d80a375c168
BLAKE2b-256 b7f832d6b5aa4c4bc045fa2c4c58f88c325facc54721956c6313f0afea8ea853

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for pandas-2.1.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 70cf866af3ab346a10debba8ea78077cf3a8cd14bd5e4bed3d41555a3280041c
MD5 fa7427006483fd7fbf9a2a9d61d23cec
BLAKE2b-256 bcadd1f0a867064f62ffde917876cc09cfd53352af2b1f147c140fd1943a0c7a

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pandas-2.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 629124923bcf798965b054a540f9ccdfd60f71361255c81fa1ecd94a904b9dd3
MD5 c890e1d5e3cd1f046b5562128073ada8
BLAKE2b-256 d926895a49ebddb4211f2d777150f38ef9e538deff6df7e179a3624c663efc98

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pandas-2.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d8c58b1113892e0c8078f006a167cc210a92bdae23322bb4614f2f0b7a4b510f
MD5 767167bc1198e42450753f82d80b0e43
BLAKE2b-256 e225bfb5c7573e2b884b18e5ea993ee7aeb5a6915ea687174349fdc5f979ceec

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pandas-2.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d97daeac0db8c993420b10da4f5f5b39b01fc9ca689a17844e07c0a35ac96b4b
MD5 6884a79f87c4b704dffaedb523a9ab77
BLAKE2b-256 e5cdc941b51e95992968e3e8abc7180f33b952478abd6943062051517a808db7

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pandas-2.1.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cda72cc8c4761c8f1d97b169661f23a86b16fdb240bdc341173aee17e4d6cedd
MD5 59e4011cc08bba338be4531675b46d94
BLAKE2b-256 c305c5c73d54ceb7d5e4b8c046d39a1bb7f38ee76ea556a002cf3317514f0196

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pandas-2.1.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 11.1 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pandas-2.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 38f74ef7ebc0ffb43b3d633e23d74882bce7e27bfa09607f3c5d3e03ffd9a4a5
MD5 ec28b3ab1ad68a425b84591c69253b43
BLAKE2b-256 c589ce1c7dc497f9a20644f6a7d2dd5bce6378a48321955178197fa3b55d6fe3

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for pandas-2.1.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 eb20252720b1cc1b7d0b2879ffc7e0542dd568f24d7c4b2347cb035206936421
MD5 e74d03f96073e1c56f0b1a10cec5c2d9
BLAKE2b-256 4ca88ac4fa3970e64d7f62ebdcd47e507c2443d49090a3f402fa01f0e6e30b13

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pandas-2.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9d81e1813191070440d4c7a413cb673052b3b4a984ffd86b8dd468c45742d3cc
MD5 b4203c97a8ff31a2b85c4f8be6e38561
BLAKE2b-256 fb4f4a4372b2e24439f559b73318683486831d75e59544ae02bf8dec8dd6f48b

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pandas-2.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6e6a0fe052cf27ceb29be9429428b4918f3740e37ff185658f40d8702f0b3e09
MD5 0ef192d6a3e0549ed2b57669508eea17
BLAKE2b-256 f3218ea83d6990457c5253d9e6c40a3d2c8a3d383dfabb937b0a36a71ae43bde

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pandas-2.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d4f38e4fedeba580285eaac7ede4f686c6701a9e618d8a857b138a126d067f2f
MD5 31089874d5f2d5da85c21561039cebf1
BLAKE2b-256 8d081cf87814dcd87604807971abc743b12e635de36d820be7b50e2b6aa9e1b5

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pandas-2.1.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 40dd20439ff94f1b2ed55b393ecee9cb6f3b08104c2c40b0cb7186a2f0046242
MD5 515bfc1b1842b55015f25075c6769519
BLAKE2b-256 cfbabe69b6fa37c74699d333dbcbf0fc799eb31c35ce465651cdc4baf6a2e30d

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pandas-2.1.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 11.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pandas-2.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 0164b85937707ec7f70b34a6c3a578dbf0f50787f910f21ca3b26a7fd3363437
MD5 2b4069ecca2b44df2cff35c3ced6f1b7
BLAKE2b-256 b94278b0e183e545de3cc8d04fdb7a40d39d456a45823fae66d2ec9f4ccc190d

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for pandas-2.1.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b31da36d376d50a1a492efb18097b9101bdbd8b3fbb3f49006e02d4495d4c644
MD5 49bbbd439ff4097a68d27da194cff1d5
BLAKE2b-256 ba808bd10d9215dc3ce1036aec0152f86d55981f4dde36843a079c6bafbc19c1

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pandas-2.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d99e678180bc59b0c9443314297bddce4ad35727a1a2656dbe585fd78710b3b9
MD5 8eb5b5b688137746274a52f7502b524e
BLAKE2b-256 83f02765daac3c58165460b127df5c0ef7b3a039f3bfe7ea7a51f3d20b01371b

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pandas-2.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b9a6ccf0963db88f9b12df6720e55f337447aea217f426a22d71f4213a3099a6
MD5 b492f5ec553ecb6625f24a351814e98e
BLAKE2b-256 aff4e5e3283c04f0459e523828084a29a367484e3fe0e9b95c2c012f2d9d0c2e

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pandas-2.1.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 28f330845ad21c11db51e02d8d69acc9035edfd1116926ff7245c7215db57957
MD5 b83829fce746e628ee5a8972d2a3246f
BLAKE2b-256 ee70bad32e3c05d95bc53ed2c596fc8edb333cdd9049d248b6702d92d6be2389

See more details on using hashes here.

File details

Details for the file pandas-2.1.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pandas-2.1.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 86f100b3876b8c6d1a2c66207288ead435dc71041ee4aea789e55ef0e06408cb
MD5 0a0526437a8fff5491307325c94be511
BLAKE2b-256 fac4e09a705190d0930c8460257fcb6f2df83be78c82cb2cacd3b9be343d7205

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page