【Python】 pandas学习笔记

Short introduction to pandas 10 Minutes to pandas

More complex recipes in the Cookbook. 

Operations 

See the Basic section on Binary Ops.

【Python】 pandas学习笔记_第1张图片 

DataFrame Sort

【Python】 pandas学习笔记_第2张图片

【Python】 pandas学习笔记_第3张图片

 Viewing Data

【Python】 pandas学习笔记_第4张图片

【Python】 pandas学习笔记_第5张图片

Data Seletion by Label

【Python】 pandas学习笔记_第6张图片

【Python】 pandas学习笔记_第7张图片

Date Selection by Position

【Python】 pandas学习笔记_第8张图片

【Python】 pandas学习笔记_第9张图片

Data Selection by Boolean Indexing

【Python】 pandas学习笔记_第10张图片

【Python】 pandas学习笔记_第11张图片

 

 Missing Data

【Python】 pandas学习笔记_第12张图片

String Methods

【Python】 pandas学习笔记_第13张图片

【Python】 pandas学习笔记_第14张图片 

Appending Data

【Python】 pandas学习笔记_第15张图片

Grouping Data

By “group by” we are referring to a process involving one or more of the following steps:

  • Splitting the data into groups based on some criteria
  • Applying a function to each group independently
  • Combining the results into a data structure

More details at GroupBy Section 

【Python】 pandas学习笔记_第16张图片

Plotting

See the Plotting docs 

Here's the content:

【Python】 pandas学习笔记_第17张图片

【Python】 pandas学习笔记_第18张图片 【Python】 pandas学习笔记_第19张图片

 

Getting Data In/Out

【Python】 pandas学习笔记_第20张图片

【Python】 pandas学习笔记_第21张图片

【Python】 pandas学习笔记_第22张图片

 

 Reshaping

 See the sections on Hierarchical Indexing and Reshaping.

Time Series

pandas has simple, powerful, and efficient functionality for performing resampling operations during frequency conversion (e.g., converting secondly data into 5-minutely data). This is extremely common in, but not limited to, financial applications. See the Time Series section.

Categoricals

pandas can include categorical data in a DataFrame. For full docs, see the categorical introduction and the API documentation.

【Python】 pandas学习笔记_第23张图片 

你可能感兴趣的:(机器学习,编程语言,深度学习,pandas,python)