pandas (software)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Pandas logo.png
Original author(s) Wes McKinney
Developer(s) Community
Stable release
0.19.0[1] / October 2, 2016; 20 days ago (2016-10-02)
Written in Python
Operating system Cross-platform
Type Technical computing
License BSD-new license

pandas is a software library written for the Python programming language for data manipulation and analysis. In particular, it offers data structures and operations for manipulating numerical tables and time series. pandas is free software released under the three-clause BSD license.[2] The name is derived from the term "panel data", an econometrics term for multidimensional structured data sets.

Library features[edit]

  • DataFrame object for data manipulation with integrated indexing
  • Tools for reading and writing data between in-memory data structures and different file formats
  • Data alignment and integrated handling of missing data
  • Reshaping and pivoting of data sets
  • Label-based slicing, fancy indexing, and subsetting of large data sets
  • Data structure column insertion and deletion
  • Group by engine allowing split-apply-combine operations on data sets
  • Data set merging and joining
  • Hierarchical axis indexing to work with high-dimensional data in a lower-dimensional data structure
  • Time series-functionality: date range generation and frequency conversion, moving window statistics, moving window linear regressions, date shifting and lagging

The library is highly optimized for performance, with critical code paths written in Cython or C.[3]


Developer Wes McKinney started working on pandas in 2008 while at AQR Capital Management out of the need for a high performance, flexible tool to perform quantitative analysis on financial data. Before leaving AQR he was able to convince management to allow him to open source the library.

Another AQR employee, Chang She, joined the effort in 2012 as the second major contributor to the library. Around the same time, the library became popular in the Python community, and many more contributors joined the project.

See also[edit]


External links[edit]