快速使用 bogon:Documents rousseau$ ipython --pylab Python 3.6.0 (v3.6.0:41df79263a11, Dec 22 2016, 17:23:13) Type 'copyright', 'credits' or 'license' for more information IPython 6.2.1 -- An enhanced Interactive Python. Type '?' for help. Using matplotli
pandas有两种自己独有的基本数据结构Series和DataFrame Series 数据结构 data 100 300 500 index 0 1 2 或者 index data 0 100 1 300 2 500 创建series对象 In [1]: import numpy as np In [2]: from pandas import Series,DataFrame In [3]: import pandas as pd 传递list创建对象,默认创建整数索引 In [4]: s1