程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Python chapter 05 introduction to pandas

編輯:Python

pandas It's the library of choice for the rest of the book . It contains data structure and operation tools that make data cleaning and analysis work faster and simpler .pandas Often used with other tools , Such as numerical calculation tools NumPy and SciPy, Analysis Library statsmodels and scikit-learn, And data visualization Library matplotlib.pandas Is based on NumPy Array constructed , In particular, array based functions and do not use for Cyclic data processing .

although pandas A lot of NumPy Encoding style , But the biggest difference between the two is pandas It's designed to handle tables and mixed data . and NumPy It is more suitable to deal with the unified numerical array data .

since 2010 year pandas Since open source ,pandas It gradually grew into a very large library , Applied to many real cases . The developer community already has 800 An independent contributor , They contribute to the project while solving daily data problems .

In subsequent parts of this book , I will use the following pandas Introduce conventions :

In [1]: import pandas as pd

therefore , As long as you see in the code pd., You have to think that this is pandas. because Series and DataFrame Used a lot , Therefore, it is more convenient to introduce it into the local namespace :

In [

  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved