Versions 0.4.1 through 0.4.3 (September 25 - October 9, 2011)¶
New features¶
Added Python 3 support using 2to3 (GH200)
Added
name
attribute toSeries
, now prints as part ofSeries.__repr__
Added instance methods
isnull
andnotnull
to Series (GH209, GH203)Added
Series.align
method for aligning two series with choice of join method (ENH56)Set values in mixed-type
DataFrame
objects via.ix
indexing attribute (GH135)Added new
DataFrame
methodsget_dtype_counts
and propertydtypes
(ENHdc)Added ignore_index option to
DataFrame.append
to stack DataFrames (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
has a newcopy
parameter to rename a DataFrame in place (ENHed)
Performance enhancements¶
Altered binary operations on differently-indexed SparseSeries objects to use the integer-based (dense) alignment logic which is faster with a larger number of blocks (GH205)
Wrote faster Cython data alignment / merging routines resulting in substantial speed increases
Improved performance of
isnull
andnotnull
, a regression from v0.3.0 (GH187)Refactored code related to
DataFrame.join
so that intermediate aligned copies of the data in eachDataFrame
argument do not need to be created. Substantial performance increases result (GH176)Substantially improved performance of generic
Index.intersection
andIndex.union
Implemented
BlockManager.take
resulting in significantly fastertake
performance on mixed-typeDataFrame
objects (GH104)Improved performance of
Series.sort_index
Significant groupby performance enhancement: removed unnecessary integrity checks in DataFrame internals that were slowing down slicing operations to retrieve groups
Optimized
_ensure_index
function resulting in performance savings in type-checking Index objectsWrote fast time series merging / joining methods in Cython. Will be integrated later into DataFrame.join and related functions