官术网_书友最值得收藏!

Chapter 3. The Pandas Primer

The Pandas is named after panel data (an econometric term) and Python data analysis, and is a popular open source Python library. We shall learn about basic Pandas functionalities, data structures, and operations in this chapter.

The official Pandas documentation insists on naming the project pandas in all lowercase letters. The other convention the Pandas project insists on is the import pandas as pd import statement.

We will follow these conventions in this text.

In this chapter, we will install and explore Pandas. Then, we will acquaint ourselves with the two central Pandas data structures--DataFrame and Series. After that, you will learn how to perform SQL-like operations on the data contained in these data structures. Pandas has statistical utilities, including time-series routines, some of which will be demonstrated. The topics we will look at are as follows:

  • Installing and exploring Pandas
  • The Panda DataFrames
  • The Panda Series
  • Querying data in Pandas
  • Statistics with Pandas DataFrames
  • Data aggregation with Pandas DataFrames
  • Concatenating and appending DataFrames
  • Joining DataFrames
  • Handling missing values
  • Dealing with dates
  • Pivot tables
主站蜘蛛池模板: 通许县| 大姚县| 黔南| 嘉禾县| 霍州市| 宁夏| 罗源县| 宝山区| 阜新市| 牙克石市| 佛学| 乐亭县| 刚察县| 通城县| 莱阳市| 黄冈市| 濮阳县| 鄂伦春自治旗| 上林县| 兴业县| 湘潭县| 周宁县| 神池县| 故城县| 桓仁| 同德县| 合山市| 祥云县| 化州市| 镇江市| 慈利县| 咸阳市| 崇左市| 旬阳县| 青铜峡市| 沂南县| 潮安县| 北辰区| 安仁县| 增城市| 遂溪县|