天天看点

pandas DataFrame学习(1)

关于pandas,前人之述备矣。然则this is my Blog!

dataframe是个数据表。可以通过字典创建(有一维、两维)

输出结果:

pandas DataFrame学习(1)

使用.Series和.index方法分别声明。

pandas DataFrame学习(1)

输出结果:

pandas DataFrame学习(1)

发现<code>jupyter</code>在上一个in里面如果声明的东西,在下一个In中也可以使用。它整体的一个文件就是拆分成很多块的程序。(终于明白<code>jupyter</code>的真正优点了)