Skip to main content

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

Project description

pandas is a Python package that provides fast, flexible, and expressive data structures designed to make working with structured (tabular, multidimensional, potentially heterogeneous) and time series 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 toward this goal.

pandas is well suited for many different kinds of data:

  • Tabular data with heterogeneously-typed columns, as in an SQL table or Excel spreadsheet

  • Ordered and unordered (not necessarily fixed-frequency) time series data.

  • Arbitrary matrix data (homogeneously typed or heterogeneous) with row and column labels

  • Any other form of observational / statistical data sets. The data actually need not be labeled at all to be placed into a pandas data structure

The two primary data structures of pandas, Series (1-dimensional) and DataFrame (2-dimensional), handle the vast majority of typical use cases in finance, statistics, social science, and many areas of engineering. For R users, DataFrame provides everything that R’s data.frame provides and much more. pandas is built on top of NumPy and is intended to integrate well within a scientific computing environment with many other 3rd party libraries.

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

  • Easy handling of missing data (represented as NaN) 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.

Many of these principles are here to address the shortcomings frequently experienced using other languages / scientific research environments. For data scientists, working with data is typically divided into multiple stages: munging and cleaning data, analyzing / modeling it, then organizing the results of the analysis into a form suitable for plotting or tabular display. pandas is the ideal tool for all of these tasks.

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

Uploaded Source

Built Distributions

pandas-1.2.1-cp39-cp39-win_amd64.whl (9.3 MB view details)

Uploaded CPython 3.9 Windows x86-64

pandas-1.2.1-cp39-cp39-win32.whl (8.2 MB view details)

Uploaded CPython 3.9 Windows x86

pandas-1.2.1-cp39-cp39-manylinux1_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.9

pandas-1.2.1-cp39-cp39-manylinux1_i686.whl (9.3 MB view details)

Uploaded CPython 3.9

pandas-1.2.1-cp39-cp39-macosx_10_9_x86_64.whl (10.7 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

pandas-1.2.1-cp38-cp38-win_amd64.whl (9.3 MB view details)

Uploaded CPython 3.8 Windows x86-64

pandas-1.2.1-cp38-cp38-win32.whl (8.2 MB view details)

Uploaded CPython 3.8 Windows x86

pandas-1.2.1-cp38-cp38-manylinux2014_aarch64.whl (10.0 MB view details)

Uploaded CPython 3.8

pandas-1.2.1-cp38-cp38-manylinux1_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.8

pandas-1.2.1-cp38-cp38-manylinux1_i686.whl (9.4 MB view details)

Uploaded CPython 3.8

pandas-1.2.1-cp38-cp38-macosx_10_9_x86_64.whl (10.5 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

pandas-1.2.1-cp37-cp37m-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.7m Windows x86-64

pandas-1.2.1-cp37-cp37m-win32.whl (8.1 MB view details)

Uploaded CPython 3.7m Windows x86

pandas-1.2.1-cp37-cp37m-manylinux1_x86_64.whl (9.9 MB view details)

Uploaded CPython 3.7m

pandas-1.2.1-cp37-cp37m-manylinux1_i686.whl (9.5 MB view details)

Uploaded CPython 3.7m

pandas-1.2.1-cp37-cp37m-macosx_10_9_x86_64.whl (10.3 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: pandas-1.2.1.tar.gz
  • Upload date:
  • Size: 5.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1.tar.gz
Algorithm Hash digest
SHA256 5527c5475d955c0bc9689c56865aaa2a7b13c504d6c44f0aadbf57b565af5ebd
MD5 43c5ba799437c96f1e3dd1360209f7c5
BLAKE2b-256 111cb0bc154996617eae877ff267fcf84e55e6c6808dbade0da206f0419dd483

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 9.3 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2de012a36cc507debd9c3351b4d757f828d5a784a5fc4e6766eafc2b56e4b0f5
MD5 e994a7d0b1d0792679d26fd48c3e3c9c
BLAKE2b-256 a1040446c4d78d6eafd68675cc7d77fb16591c954003c5b456e08dd167ce37eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.1-cp39-cp39-win32.whl
  • Upload date:
  • Size: 8.2 MB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 fe7de6fed43e7d086e3d947651ec89e55ddf00102f9dd5758763d56d182f0564
MD5 f23f0dacd32e421c8159ba21e7851006
BLAKE2b-256 f45df2bafabe5798fed3e9a34621d119e8b5c02096f087db7eef2e72aa4efdd6

See more details on using hashes here.

File details

Details for the file pandas-1.2.1-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: pandas-1.2.1-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 9.7 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 050ed2c9d825ef36738e018454e6d055c63d947c1d52010fbadd7584f09df5db
MD5 de62fb99f55455426d296ff91852ef57
BLAKE2b-256 c956f415b4148622f469263ad2ece8bdf757972e94ffc97cb750dd8b79b04d43

See more details on using hashes here.

File details

Details for the file pandas-1.2.1-cp39-cp39-manylinux1_i686.whl.

File metadata

  • Download URL: pandas-1.2.1-cp39-cp39-manylinux1_i686.whl
  • Upload date:
  • Size: 9.3 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1-cp39-cp39-manylinux1_i686.whl
Algorithm Hash digest
SHA256 cfd237865d878da9b65cfee883da5e0067f5e2ff839e459466fb90565a77bda3
MD5 49a9ed14b45025015415f6293b0fd406
BLAKE2b-256 191d16db807917b83ca9157b0acb72c7417fd5c79482d8de44571e9e5d0134ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.1-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 10.7 MB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d7cca42dba13bfee369e2944ae31f6549a55831cba3117e17636955176004088
MD5 017157c302b258c7ac042c980de68e1f
BLAKE2b-256 8b685867c86044b711f88800f39881f743065cf80be259332de19914bbfb0b82

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 9.3 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 57d5c7ac62925a8d2ab43ea442b297a56cc8452015e71e24f4aa7e4ed6be3d77
MD5 2d40eb88adb85b8fe80618cea47595d2
BLAKE2b-256 91ea063b04e57168a738244628e27de2f006bbe75b6807361283e57855c44a2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.1-cp38-cp38-win32.whl
  • Upload date:
  • Size: 8.2 MB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 47ec0808a8357ab3890ce0eca39a63f79dcf941e2e7f494470fe1c9ec43f6091
MD5 017716a2fddf53f614ccb8fb0949cf2f
BLAKE2b-256 82f6c207a39768093f79345e20b99201f64445501356d63b9719e99ab6478707

See more details on using hashes here.

File details

Details for the file pandas-1.2.1-cp38-cp38-manylinux2014_aarch64.whl.

File metadata

  • Download URL: pandas-1.2.1-cp38-cp38-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 10.0 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1-cp38-cp38-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b26e2dabda73d347c7af3e6fed58483161c7b87a886a4e06d76ccfe55a044aa9
MD5 cea323522035288f45a73098dbb9e6a4
BLAKE2b-256 7f9bc5b82d6edbcdabe8022c3ceb5c816d26a6f7aba504d4e61401e0f1d019ad

See more details on using hashes here.

File details

Details for the file pandas-1.2.1-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: pandas-1.2.1-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 9.7 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9d45f58b03af1fea4b48e44aa38a819a33dccb9821ef9e1d68f529995f8a632f
MD5 24a0451ca6e76625f0ebd98ae71a3af8
BLAKE2b-256 ac00b52d3ae41ce14c4adef5d2a6952c46ed733ff9d1b33fc1aa423db0a6c1cd

See more details on using hashes here.

File details

Details for the file pandas-1.2.1-cp38-cp38-manylinux1_i686.whl.

File metadata

  • Download URL: pandas-1.2.1-cp38-cp38-manylinux1_i686.whl
  • Upload date:
  • Size: 9.4 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 055647e7f4c5e66ba92c2a7dcae6c2c57898b605a3fb007745df61cc4015937f
MD5 d30439b3c7fd7611638fe14b38e542ca
BLAKE2b-256 7d0f16e560fe5cae467d22941054fb957e95718473c4217ad21cc60ccaa88873

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.1-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 10.5 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 30e9e8bc8c5c17c03d943e8d6f778313efff59e413b8dbdd8214c2ed9aa165f6
MD5 7ce8739c1c29ec7dc0f32d436f2e90f2
BLAKE2b-256 f6a3a31cce644b77739cf0147579578ca9032d6cc13e9f0d508095a1230f45db

See more details on using hashes here.

File details

Details for the file pandas-1.2.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pandas-1.2.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 9.1 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 496fcc29321e9a804d56d5aa5d7ec1320edfd1898eee2f451aa70171cf1d5a29
MD5 50abba69a10b038b63c1d96ce70bb309
BLAKE2b-256 f6987a6f3396f1741af288c13fba5fb6fa6055b2c802f9383797f149f27081d9

See more details on using hashes here.

File details

Details for the file pandas-1.2.1-cp37-cp37m-win32.whl.

File metadata

  • Download URL: pandas-1.2.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 8.1 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 23ac77a3a222d9304cb2a7934bb7b4805ff43d513add7a42d1a22dc7df14edd2
MD5 3fe42e58a0f8fae8818eff6107e97d15
BLAKE2b-256 cf334b10e4deec1670a102333b52e9049e31de9e653c3fe3df62288a04a3b29e

See more details on using hashes here.

File details

Details for the file pandas-1.2.1-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: pandas-1.2.1-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 9.9 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 37443199f451f8badfe0add666e43cdb817c59fa36bceedafd9c543a42f236ca
MD5 67e180b7bbd7bbc7492654504763843b
BLAKE2b-256 7ac2339e302d4122cb8b166aecc823afed4af6b2193f040f2656eea77d174146

See more details on using hashes here.

File details

Details for the file pandas-1.2.1-cp37-cp37m-manylinux1_i686.whl.

File metadata

  • Download URL: pandas-1.2.1-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 9.5 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 324e60bea729cf3b55c1bf9e88fe8b9932c26f8669d13b928e3c96b3a1453dff
MD5 92fde50940a2782ae1768bbf0f4f7797
BLAKE2b-256 afb3aba84fdb26a109388a67d7581bba446a2b510414e8ddf3732388dfa7799d

See more details on using hashes here.

File details

Details for the file pandas-1.2.1-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: pandas-1.2.1-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 10.3 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for pandas-1.2.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 50e6c0a17ef7f831b5565fd0394dbf9bfd5d615ee4dd4bb60a3d8c9d2e872323
MD5 aa850a53a12e0afbb377ceebc889c327
BLAKE2b-256 5060a8f52496cd8bc3c515ca41ad8f78d0127a77b1b0bfa27ebadf327931e714

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