- 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:

- 最后一個人類
- 計算機網絡技術基礎
- Apache Spark Deep Learning Cookbook
- 西門子S7-200 SMART PLC實例指導學與用
- 網中之我:何明升網絡社會論稿
- 網絡服務搭建、配置與管理大全(Linux版)
- Visual C++項目開發案例精粹
- 電氣控制與PLC原理及應用(歐姆龍機型)
- Windows 7故障與技巧200例
- Kubernetes on AWS
- Flash CS5二維動畫設計與制作
- 工業機器人應用系統三維建模
- Ubuntu 9 Linux應用基礎
- Windows Server 2012 Automation with PowerShell Cookbook
- Cloud Native Development Patterns and Best Practices