Skip to main content

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

Project description



pandas: powerful Python data analysis toolkit

PyPI Latest Release Conda Latest Release DOI Package Status License Coverage Downloads Gitter Powered by NumFOCUS Code style: black Imports: isort

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.

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 pandas
# or PyPI
pip install 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:

python setup.py install

or for installing in development mode:

python -m pip install -e . --no-build-isolation --no-use-pep517

If you have make, you can also use make develop to run the same command.

or alternatively

python setup.py develop

See the full instructions for installing from source.

License

BSD 3

Documentation

The official documentation is hosted on PyData.org: https://pandas.pydata.org/pandas-docs/stable

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. Further, the pandas-dev mailing list can also be used for specialized discussions or design issues, and a Gitter channel is available for quick development related questions.

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 Gitter.

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

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-1.4.3.tar.gz (4.9 MB view details)

Uploaded Source

Built Distributions

pandas-1.4.3-cp310-cp310-win_amd64.whl (10.5 MB view details)

Uploaded CPython 3.10Windows x86-64

pandas-1.4.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pandas-1.4.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (10.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

pandas-1.4.3-cp310-cp310-macosx_11_0_arm64.whl (10.4 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pandas-1.4.3-cp310-cp310-macosx_10_9_x86_64.whl (11.5 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

pandas-1.4.3-cp310-cp310-macosx_10_9_universal2.whl (17.7 MB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)

pandas-1.4.3-cp39-cp39-win_amd64.whl (10.6 MB view details)

Uploaded CPython 3.9Windows x86-64

pandas-1.4.3-cp39-cp39-win32.whl (9.4 MB view details)

Uploaded CPython 3.9Windows x86

pandas-1.4.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.7 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pandas-1.4.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

pandas-1.4.3-cp39-cp39-macosx_11_0_arm64.whl (10.5 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

pandas-1.4.3-cp39-cp39-macosx_10_9_x86_64.whl (11.5 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

pandas-1.4.3-cp39-cp39-macosx_10_9_universal2.whl (17.9 MB view details)

Uploaded CPython 3.9macOS 10.9+ universal2 (ARM64, x86-64)

pandas-1.4.3-cp38-cp38-win_amd64.whl (10.6 MB view details)

Uploaded CPython 3.8Windows x86-64

pandas-1.4.3-cp38-cp38-win32.whl (9.4 MB view details)

Uploaded CPython 3.8Windows x86

pandas-1.4.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.7 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pandas-1.4.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

pandas-1.4.3-cp38-cp38-macosx_11_0_arm64.whl (10.3 MB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

pandas-1.4.3-cp38-cp38-macosx_10_9_x86_64.whl (11.4 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

pandas-1.4.3-cp38-cp38-macosx_10_9_universal2.whl (17.6 MB view details)

Uploaded CPython 3.8macOS 10.9+ universal2 (ARM64, x86-64)

File details

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

File metadata

  • Download URL: pandas-1.4.3.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for pandas-1.4.3.tar.gz
Algorithm Hash digest
SHA256 2ff7788468e75917574f080cd4681b27e1a7bf36461fe968b49a87b5a54d007c
MD5 3c903bbbdf4a9fa58bc2c2b10538a516
BLAKE2b-256 f4002de395c769335956b8650f990ef2a15e860be83b544c408ff95713446329

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.4.3-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 10.5 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for pandas-1.4.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2893e923472a5e090c2d5e8db83e8f907364ec048572084c7d10ef93546be6d1
MD5 75267ad4157f8833c168241cb8d8d615
BLAKE2b-256 8bde6b3be78f2360e97fba531584e4d86428a6bfe194ec4b3acce5df604a2aab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pandas-1.4.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6f803320c9da732cc79210d7e8cc5c8019aad512589c910c66529eb1b1818230
MD5 83f692af2cd7e7d2ae2b8d1c846d4479
BLAKE2b-256 eae4a1cbaca4069fdd92c930bb1c5eebd9ea9c55717a9bf60bd41708c8a33f5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pandas-1.4.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e48fbb64165cda451c06a0f9e4c7a16b534fcabd32546d531b3c240ce2844112
MD5 d9919abdf3efbfda1aadeca6d3f3c95e
BLAKE2b-256 41811686c25606ac4a1228769be5558cef8d54c0fbc987c5d592fa7d01087b16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pandas-1.4.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 958a0588149190c22cdebbc0797e01972950c927a11a900fe6c2296f207b1d6f
MD5 ae97a0cbd34dd49ea83b21eb6d533e0c
BLAKE2b-256 df88d6176ffc5b271924f45e356cd0f5781538446ce143f693ba8dbabeea10b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pandas-1.4.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 16ad23db55efcc93fa878f7837267973b61ea85d244fc5ff0ccbcfa5638706c5
MD5 b0627f42f467e3d5c7cdbd3093416233
BLAKE2b-256 ec490b304252f670ce4074eeddb61f184b81708826343e89ee90c0395db32f71

See more details on using hashes here.

File details

Details for the file pandas-1.4.3-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pandas-1.4.3-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d51674ed8e2551ef7773820ef5dab9322be0828629f2cbf8d1fc31a0c4fed640
MD5 b6166747dd2bc87d9cd883ce3b9e113b
BLAKE2b-256 7480114ce64b02347bbadc70b7e8de3a0076ec346fb6e315ead06756cbc1bcb9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.4.3-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 10.6 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for pandas-1.4.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 721a3dd2f06ef942f83a819c0f3f6a648b2830b191a72bbe9451bcd49c3bd42e
MD5 6f4d512800533a0a893542bcc5fa62fa
BLAKE2b-256 60a6998a96dfc6375874670b140c1dab6125fcec49736555cfdcb41e39187642

See more details on using hashes here.

File details

Details for the file pandas-1.4.3-cp39-cp39-win32.whl.

File metadata

  • Download URL: pandas-1.4.3-cp39-cp39-win32.whl
  • Upload date:
  • Size: 9.4 MB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for pandas-1.4.3-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 0daf876dba6c622154b2e6741f29e87161f844e64f84801554f879d27ba63c0d
MD5 29090627478103cc64cb6f1506677bd1
BLAKE2b-256 766082eb766bfdd8979470a256048318639f86d9968c3afccc40af73fe20008a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pandas-1.4.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1d9382f72a4f0e93909feece6fef5500e838ce1c355a581b3d8f259839f2ea76
MD5 c4f81055d1329784716d82f698305b10
BLAKE2b-256 a5ac6c04be2c26e8c839659b7bcdc7a4bcd4e5366867bff8027ffd1cae58b806

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pandas-1.4.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 41fc406e374590a3d492325b889a2686b31e7a7780bec83db2512988550dadbf
MD5 96b7e1acc691026df5650530c6fc010a
BLAKE2b-256 cab02994a42e3852deb3aaa4af7804a04f9defb13a6f2e6edc6328683700d386

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pandas-1.4.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 755679c49460bd0d2f837ab99f0a26948e68fa0718b7e42afbabd074d945bf84
MD5 36b86629b4a860726a31b07893ef4d5d
BLAKE2b-256 ed7d25f52988bd6949319946ff99a75b547f7bf3f20aff8b2b84fda047bdcd04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pandas-1.4.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 07238a58d7cbc8a004855ade7b75bbd22c0db4b0ffccc721556bab8a095515f6
MD5 e18bfcadbd8b09281995e34a24752132
BLAKE2b-256 2c3f7c1689ab9489709e218805df225a58cc2958e21ea301eb4b9f6dd9ab914a

See more details on using hashes here.

File details

Details for the file pandas-1.4.3-cp39-cp39-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pandas-1.4.3-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 a3924692160e3d847e18702bb048dc38e0e13411d2b503fecb1adf0fcf950ba4
MD5 bebabddd2b52d059e383d9a5d5c50859
BLAKE2b-256 8f677bf106bf405e28a0a0afa9284232dd9b13ffd0cef4eb11c5346849412b86

See more details on using hashes here.

File details

Details for the file pandas-1.4.3-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pandas-1.4.3-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 10.6 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for pandas-1.4.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 605d572126eb4ab2eadf5c59d5d69f0608df2bf7bcad5c5880a47a20a0699e3e
MD5 b45c26169b33e1c31e91837ec42106fe
BLAKE2b-256 23a8ef55120b69b0afb4d240ad5fd511be90955dfa2e02ef49a185ac639a4060

See more details on using hashes here.

File details

Details for the file pandas-1.4.3-cp38-cp38-win32.whl.

File metadata

  • Download URL: pandas-1.4.3-cp38-cp38-win32.whl
  • Upload date:
  • Size: 9.4 MB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for pandas-1.4.3-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 48350592665ea3cbcd07efc8c12ff12d89be09cd47231c7925e3b8afada9d50d
MD5 3c4595255101523444758bd25bffbf95
BLAKE2b-256 436c42fdab624ffc6f3e5664245c452ae523182440037f13906965709a478fa2

See more details on using hashes here.

File details

Details for the file pandas-1.4.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pandas-1.4.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6dfbf16b1ea4f4d0ee11084d9c026340514d1d30270eaa82a9f1297b6c8ecbf0
MD5 cf6dfef3d646583ce92b61d165f3d46c
BLAKE2b-256 d15518b00a5426ad8a89944ab93b6b29773a556dc06af8b53a29031f861009e3

See more details on using hashes here.

File details

Details for the file pandas-1.4.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pandas-1.4.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 78b00429161ccb0da252229bcda8010b445c4bf924e721265bec5a6e96a92e92
MD5 1be8fb4d18af7e1db8773928cb7a4358
BLAKE2b-256 45be6cba7d58f50ddea41209cc3e2ccd3b2f1551cb62b786c502f483e9961b50

See more details on using hashes here.

File details

Details for the file pandas-1.4.3-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pandas-1.4.3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d6c0106415ff1a10c326c49bc5dd9ea8b9897a6ca0c8688eb9c30ddec49535ef
MD5 24ec77b002d915c44df86cdc6f1530eb
BLAKE2b-256 4ca65318e93cbdeefa9ce97b595047e6138beb4919b89a863a8da0f8987be77e

See more details on using hashes here.

File details

Details for the file pandas-1.4.3-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pandas-1.4.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d5ebc990bd34f4ac3c73a2724c2dcc9ee7bf1ce6cf08e87bb25c6ad33507e318
MD5 a5bf51d35494afe9a1156a71bfa511a1
BLAKE2b-256 c8858afe540bd0299c4d58f0a5b88acc49a8021804abe05a00d2cbc2fccde873

See more details on using hashes here.

File details

Details for the file pandas-1.4.3-cp38-cp38-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pandas-1.4.3-cp38-cp38-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 24ea75f47bbd5574675dae21d51779a4948715416413b30614c1e8b480909f81
MD5 99f20197508dd591cd7d6f7647ddf4c3
BLAKE2b-256 56afad25a652983d250158b91f9fc044f70359d20c34b1c671b0c1cecc2e85d2

See more details on using hashes here.

Supported by

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