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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9 Windows x86

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

Uploaded CPython 3.9

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

Uploaded CPython 3.9

pandas-1.2.0-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.0-cp38-cp38-win_amd64.whl (9.3 MB view details)

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8 Windows x86

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8

pandas-1.2.0-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.0-cp37-cp37m-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m Windows x86

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m

pandas-1.2.0-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.0.tar.gz.

File metadata

  • Download URL: pandas-1.2.0.tar.gz
  • Upload date:
  • Size: 5.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0.tar.gz
Algorithm Hash digest
SHA256 e03386615b970b8b41da6a68afe717626741bb2431cec993640685614c0680e4
MD5 59c09d23c881637214cdeaafc04d24b5
BLAKE2b-256 75bcabf2e8cc6a9d918008774b958613cfdbd3a8c135cffb0757f78fabd8268f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.0-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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 616478c1bd8fe1e600f521ae2da434e021c11e7a4e5da3451d02906143d3629a
MD5 91ba3b85e867459da6ff5beeb16b880e
BLAKE2b-256 92ee32c475db84dad6b8b38e57dc927ea38f64cd4e3ff40507bfddc2d216e734

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.0-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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 2d8b4f532db37418121831a461fd107d826c240b098f52e7a1b4ab3d5aaa4fb2
MD5 43bfe19ffb6c742867975b97d8421a3b
BLAKE2b-256 876eb21f8ee12ea45c206919b0ff398268a0feccf4d9e27a5aa083af9bd1216b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.0-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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8f92b07cdbfa3704d85b4264e52c216cafe6c0059b0d07cdad8cb29e0b90f2b8
MD5 40e8bd0cbaac9986e21e281edd7d59ee
BLAKE2b-256 c78394eea16f994984c5770b9bfd8f76fb2be005761b0ce9bdfceeddca4b434d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.0-cp39-cp39-manylinux1_i686.whl
  • Upload date:
  • Size: 9.3 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0-cp39-cp39-manylinux1_i686.whl
Algorithm Hash digest
SHA256 91fd0b94e7b98528177a05e6f65efea79d7ef9dec15ee48c7c69fc39fdd87235
MD5 81a2142da66fe090851b2024fc8e9840
BLAKE2b-256 76b58d36eb3b858fa486382e5b2bf045a0bf262358c5fe222449d6af52675cda

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.0-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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f8b87d2f541cd9bc4ecfe85a561abac85c33fe4de4ce70cca36b2768af2611f5
MD5 a933e9144b07985b70c6f7f58a83334e
BLAKE2b-256 a7b3af3243ca2bdbdec9681af49f6a7ebd28ec6ac28d30555abb0a7f2af19920

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.0-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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 7904ee438549b5223ce8dc008772458dd7c5cf0ccc64cf903e81202400702235
MD5 607abe8c7fbf082590f1420b2cfdd6d0
BLAKE2b-256 7848625e3ed1b70cb7c74aca401ed8768a95c7dee0c44307fcf7e5172004fda4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.0-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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 3bc6d2be03cb75981d8cbeda09503cd9d6d699fc0dc28a65e197165ad527b7b8
MD5 d9ccd7d367b732a5d6d8dcd342d605c2
BLAKE2b-256 d0fcf6dc9759e9a2311f0bb3af351b6aa6f6d22cf036b8a742ca81903a951863

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.0-cp38-cp38-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 10.0 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0-cp38-cp38-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 33318fa24b192b1a4684347ff76679a7267fd4e547da9f71556a5914f0dc10e7
MD5 eacab417b3534dc4029ba4fcfa7b0d1b
BLAKE2b-256 942f074fe01ac61b66d830fb4caa40eaada74cd34a975489eddf23b31d62cf33

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.0-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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 272675a98fa4954b9fc0933df775596fc942e50015d7e75d8f19548808a2bfdf
MD5 7c8f428499b5741d82037e8ef2c4af4a
BLAKE2b-256 7d4dc1df56ed2370839f5a1b7bc5a4835ee73f46c2582beb5d3b14e87f2b3dc0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.0-cp38-cp38-manylinux1_i686.whl
  • Upload date:
  • Size: 9.4 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 9c6692cea6d56da8650847172bdb148622f545e7782d17995822434c79d7a211
MD5 3a610ca0292aa17aa351f6074d8c5678
BLAKE2b-256 f8e147ae0274084dd307664b86064bef7d26eb14c131ff5f52c22f1ea8049865

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.0-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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0be6102dd99910513e75ed6536284743ead810349c51bdeadd2a5b6649f30abb
MD5 e9696932ba553143edaad8c2b4dc55d7
BLAKE2b-256 df3686f5f575b71bf2c92486dd789eb16761ea2edf7ba0336914a60773fa8f1f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.0-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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 43482789c55cbabeed9482263cfc98a11e8fcae900cb63ef038948acb4a72570
MD5 04cb137783bb4b492764d3590e68b4fc
BLAKE2b-256 1157ae7d1ce265e057b2b44e25f9dec0b1d38e7a0e5458fc8d502ab9abf50e75

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.0-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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 6c1a57e4d0d6f9633a07817c44e6b36d81c265fe4c52d0c0505513a2d0f7953c
MD5 bb038525b9c2dd572bdaf7647720e5f5
BLAKE2b-256 452d73b2b71f2621c45d5ed31e6b4405e7cdaaa2750d1f1c1ca1fd898e904ae4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.0-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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7b54c14130a3448d81eed1348f52429c23e27188d9db6e6d4afeae792bc49c11
MD5 415e3b14d372febfc1400b9429a6579a
BLAKE2b-256 ffbdfb376f9fbad92b9a6efdbb30ff32c80f3cba1368689309cbb5566364af5c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.0-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 9.5 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 9e18631d996fe131de6cb31a8bdae18965cc8f39eb23fdfbbf42808ecc63dabf
MD5 d84e000958f48b122e144ccfc2cd0555
BLAKE2b-256 9467c7c85d350c09245b4862ce545ef54e62c6f85f23b39269974ee5ba9ee879

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas-1.2.0-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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-1.2.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cba93d4fd3b0a42858b2b599495aff793fb5d94587979f45a14177d1217ba446
MD5 acce6f1b5986d66b5e2a85f479571585
BLAKE2b-256 a2ea2a50af12a4b2ed024b07f303570657cc45fa581512b7d13e3dafa25ab8d7

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