pandas
Pandas logo.svg
Original author(s)Wes McKinney
Developer(s)Community
Initial release11 January 2008; 14 years ago (2008-01-11)[citation needed]
Stable release
1.4.3[1] / 23 June 2022; 27 days ago (23 June 2022)
Repository
Written inPython, Cython, C
Operating systemCross-platform
TypeTechnical computing
LicenseNew BSD License
Websitepandas.pydata.org

pandas is a software library written for the Python programming language for data manipulation and analysis.[2] In particular, it offers data structures and operations for manipulating numerical tables and time series. It is free software released under the three-clause BSD license.[3] The name is derived from the term "panel data", an econometrics term for data sets that include observations over multiple time periods for the same individuals.[4] Its name is a play on the phrase "Python data analysis" itself.[5] Wes McKinney started building what would become pandas at AQR Capital while he was a researcher there from 2007 to 2010.[6]

Library features

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

DataFrames

Pandas is mainly used for data analysis and associated manipulation of tabular data in Dataframes. Pandas allows importing data from various file formats such as comma-separated values, JSON, Parquet, SQL database tables or queries, and Microsoft Excel.[9] Pandas allows various data manipulation operations such as merging,[10] reshaping,[11] selecting,[12] as well as data cleaning, and data wrangling features. The development of pandas introduced into Python many comparable features of working with DataFrames that were established in the R programming language. The pandas library is built upon another library NumPy, which is oriented to efficiently working with arrays instead of the features of working on DataFrames.

History

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.

In 2015, pandas signed on as a fiscally sponsored project of NumFOCUS, a 501(c)(3) nonprofit charity in the United States.[13]

Timeline:

See also

References

  1. ^ "Release Pandas 1.4.3".
  2. ^ Brooks, Gabriel. "Introduction to Python Pandas for Beginners". Almabetter.com. Retrieved 24 October 2020.
  3. ^ "License – Package overview – pandas 1.0.0 documentation". pandas. 28 January 2020. Retrieved 30 January 2020.
  4. ^ Wes McKinney (2011). "pandas: a Foundational Python Library for Data Analysis and Statistics" (PDF). Retrieved 2 August 2018.
  5. ^ McKinney, Wes (2017). Python for Data Analysis, Second Edition. O'Reilly Media. p. 5. ISBN 9781491957660.
  6. ^ Kopf, Dan. "Meet the man behind the most important tool in data science". Quartz. Retrieved 17 November 2020.
  7. ^ "pandas.date_range – pandas 1.0.0 documentation". pandas. 29 January 2020. Retrieved 30 January 2020.
  8. ^ "Python Data Analysis Library – pandas: Python Data Analysis Library". pandas. Retrieved 13 November 2017.
  9. ^ "IO tools (Text, CSV, HDF5, …) — pandas 1.4.1 documentation".
  10. ^ "Merge, join, concatenate and compare — pandas 1.4.1 documentation".
  11. ^ "Reshaping and pivot tables — pandas 1.4.1 documentation".
  12. ^ "Indexing and selecting data — pandas 1.4.1 documentation".
  13. ^ "NumFOCUS – pandas: a fiscally sponsored project". NumFOCUS. Retrieved 3 April 2018.
  14. ^ "pandas - Python Data Analysis Library". pandas.pydata.org. Retrieved 29 September 2021.

Further reading