版本0.4.1至0.4.3(2011年9月25日至10月9日)#
新功能#
使用2to3添加了对Python3的支持 (GH200 )
Added
name
attribute toSeries
, now prints as part ofSeries.__repr__
在混合类型中设置值
DataFrame
对象通过.ix
索引属性 (GH135 )添加了新功能
DataFrame
methodsget_dtype_counts
和财产dtypes
(ENHdc)已添加 ignore_index 选项以执行以下操作
DataFrame.append
堆叠DataFrame (ENH1b)read_csv
tries to sniff delimiters usingcsv.Sniffer
(GH146)read_csv
can read multiple columns into aMultiIndex
; DataFrame'sto_csv
method writes out a correspondingMultiIndex
(GH151)DataFrame.rename
有一个新的copy
参数设置为 rename 就位的DataFrame (ENHed)
性能增强#
更改了对不同索引的SparseSeries对象的二进制操作,以使用基于整数的(密集)对齐逻辑,该逻辑在块数量较多时速度更快 (GH205 )
编写了更快的Cython数据对齐/合并例程,从而大幅提高了速度
改进的性能
isnull
和notnull
,从v0.3.0回归 (GH187 )重构了与以下内容相关的代码
DataFrame.join
因此,每个数据库中数据的中间对齐副本DataFrame
参数不需要创建。性能大幅提升 (GH176 )大大提高了泛型的性能
Index.intersection
和Index.union
实施
BlockManager.take
从而显著更快地take
关于混合型的性能DataFrame
对象 (GH104 )改进的性能
Series.sort_index
显著的分组性能增强:删除了DataFrame内部中不必要的完整性检查,这些检查减慢了用于检索组的切片操作
已优化
_ensure_index
函数可节省类型检查索引对象的性能用Cython编写了快速的时间序列合并/连接方法。稍后将集成到DataFrame.Join和相关函数中
贡献者#
共有2人为此次发布贡献了补丁。名字中带有“+”的人第一次贡献了一个补丁。
Thomas Kluyver +
Wes McKinney