Versions 0.4.1 through 0.4.3 (September 25 (original) (raw)
Versions 0.4.1 through 0.4.3 (September 25 - October 9, 2011)#
New features#
- Added Python 3 support using 2to3 (GH 200)
- Added
name
attribute toSeries
, now prints as part ofSeries.__repr__
Series.isnull`()
and Series.notnull() (GH 209, GH 203)- Added
Series.align
method for aligning two series with choice of join method (ENH56) - Added method
get_level_values
toMultiIndex
(GH 188) - Set values in mixed-type
DataFrame
objects via.ix
indexing attribute (GH 135) - 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
(GH 146)read_csv
can read multiple columns into aMultiIndex
; DataFrame’sto_csv
method writes out a correspondingMultiIndex
(GH 151)DataFrame.rename
has a newcopy
parameter to rename a DataFrame in place (ENHed)- Enable unstacking by name (GH 142)
- Enable
sortlevel
to work by level (GH 141)
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 (GH 205)
- Wrote faster Cython data alignment / merging routines resulting in substantial speed increases
- Improved performance of
isnull
andnotnull
, a regression from v0.3.0 (GH 187) - 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 (GH 176) - Substantially improved performance of generic
Index.intersection
andIndex.union
- Implemented
BlockManager.take
resulting in significantly fastertake
performance on mixed-typeDataFrame
objects (GH 104) - 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 objects - Wrote fast time series merging / joining methods in Cython. Will be integrated later into DataFrame.join and related functions
Contributors#
A total of 2 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.
- Thomas Kluyver +
- Wes McKinney