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

pandas

pandas is an open source Python library, known for its high performance; it was developed by Wes McKinney. It quickly manipulates data. That is why it is widely used in many fields in academia and commercial activities. Like the previous packages, it is supported by many operating systems.

To install it on an Ubuntu machine, type the following command:

sudo apt-get install python-pandas

Basically, it manipulates three major data structures - data frames, series, and panels:

>> import pandas as pd
>>>import numpy as np
data = np.array(['p','a','c','k',’t’])
SR = pd.Series(data)
print SR

I resumed all of the previous lines in this screenshot:

主站蜘蛛池模板: 年辖:市辖区| 依兰县| 巴马| 黄山市| 江安县| 龙川县| 桐柏县| 宁远县| 长葛市| 上蔡县| 榆树市| 安塞县| 射阳县| 洛川县| 江陵县| 陵川县| 勐海县| 青阳县| 奇台县| 新昌县| 山丹县| 龙江县| 长沙县| 灵台县| 东城区| 黄浦区| 夏邑县| 大悟县| 雅江县| 东光县| 方正县| 盘锦市| 乌拉特前旗| 瓮安县| 蒙自县| 沐川县| 洪雅县| 厦门市| 南投县| 大名县| 台南县|