- Hands-On Data Science with Anaconda
- Dr. Yuxing Yan James Yan
- 166字
- 2021-06-25 21:08:48
Introduction to the Python pandas package
The Python pandas package is very useful when dealing with data. The pandas package is a wonderful tool for data preprocessing, which is essential for data analysis. There is a humorous way of describing the importance of data cleaning: "A data scientist spends 80% of their time cleaning the data and the other 20% complaining about cleaning the data". To test if the package is preinstalled, we can type import pandas as pd after we launch Python. If we don't see any error messages, it means that the package was preinstalled. If we do, then we can use conda install pandas to install the package. To find all available functions, we could use the following three lines of Python code:

To find out about the usage or examples of inpidual functions, the help() function can be used. For example, for the to_pickle functionality shown at the bottom of the previous screenshot, we type help(pd.to_pickle), shown in the first line here:

- 構建高質量的C#代碼
- 大數據戰爭:人工智能時代不能不說的事
- AutoCAD快速入門與工程制圖
- Visual FoxPro 6.0數據庫與程序設計
- 條碼技術及應用
- Visual Basic從初學到精通
- INSTANT Varnish Cache How-to
- 城市道路交通主動控制技術
- 永磁同步電動機變頻調速系統及其控制(第2版)
- 3D Printing for Architects with MakerBot
- Ruby on Rails敏捷開發最佳實踐
- Red Hat Linux 9實務自學手冊
- Salesforce for Beginners
- 嵌入式GUI開發設計
- Learning Cassandra for Administrators