pandas基于numpy,常与matplotlib共同使用
pd.Series(range(20))
Out[15]:
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 11
12 12
13 13
14 14
15 15
16 16
17 17
18 18
19 19
dtype: int64
pandas库主要提供两种数据类型:Series and Dataframe
Series represents one-dimensional data type while Dataframe represents two-dimensional and multi-dimensional data type.
various operation can be done through above-mentioned data type including basic operation, arithmetic operation, characteristic op, relate op.
Series in Pandas
搜索index要加''
Series对齐操作
dataframe类型
Dataframe由公用相同索引的一组列构成(是一个表格)