pandas (software)

In computer programming, 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. It is free software released under the three-clause BSD license.[2] 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.[3]

pandas
Original author(s)Wes McKinney
Developer(s)Community
Initial release11 January 2008 (2008-01-11)
Stable release
1.1.0[1] / 28 July 2020 (2020-07-28)
Repository
Written inPython, Cython, C
Operating systemCross-platform
TypeTechnical computing
LicenseNew BSD License
Websitepandas.pydata.org

Library features

  • 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[4] and frequency conversion, moving window statistics, moving window linear regressions, date shifting and lagging.
  • Provides data filtration.

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

Dataframes

Pandas is mainly used for data analysis. Pandas allows importing data from various file formats such as comma-separated values, JSON, SQL, Microsoft Excel[6]. Pandas allows various data manipulation operations such as merging [7], reshaping[8], selecting[9], as well as data cleaning, and data wrangling features.

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.[10]

gollark: Observe, osmarks.tk now receives an A+ grade for TLS configuration. You can now feel very secure using it. https://www.ssllabs.com/ssltest/analyze.html?d=osmarks.tk&s=2a00%3a23c7%3a5401%3aa500%3a1ee6%3a715a%3a99db%3adda1
gollark: Inject bees directly into your bloodstream.
gollark: I fixed it!
gollark: You can sleep on the ground or whatever if youa re EXTREMELY ASHIASHutired.
gollark: WRONG.

See also

References

Further reading

  • Chen, Daniel Y. (2018). Pandas for Everyone : Python Data Analysis. Boston: Addison-Wesley. ISBN 978-0-13-454693-3.
  • McKinney, Wes (2017). Python for Data Analysis : Data Wrangling with Pandas, NumPy, and IPython (2nd ed.). Sebastopol: O'Reilly. ISBN 978-1-4919-5766-0.
  • VanderPlas, Jake (2016). "Data Manipulations with Pandas". Python Data Science Handbook: Essential Tools for Working with Data. O'Reilly. pp. 97–216. ISBN 978-1-4919-1205-8.
  • Pathak, Chankey (2018). "Pandas Cookbook". Pandas Cookbook. pp. 1–8.

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.