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
nameattribute toSeries, now prints as part ofSeries.__repr__ - Series.isnull() and Series.notnull() (GH 209, GH 203)
- Added
Series.alignmethod for aligning two series with choice of join method (ENH56) - Added method
get_level_valuestoMultiIndex(GH 188) - Set values in mixed-type
DataFrameobjects via.ixindexing attribute (GH 135) - Added new
DataFramemethodsget_dtype_countsand propertydtypes(ENHdc) - Added ignore_index option to
DataFrame.appendto stack DataFrames (ENH1b) read_csvtries to sniff delimiters usingcsv.Sniffer(GH 146)read_csvcan read multiple columns into aMultiIndex; DataFrame’sto_csvmethod writes out a correspondingMultiIndex(GH 151)DataFrame.renamehas a newcopyparameter to rename a DataFrame in place (ENHed)- Enable unstacking by name (GH 142)
- Enable
sortlevelto 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
isnullandnotnull, a regression from v0.3.0 (GH 187) - Refactored code related to
DataFrame.joinso that intermediate aligned copies of the data in eachDataFrameargument do not need to be created. Substantial performance increases result (GH 176) - Substantially improved performance of generic
Index.intersectionandIndex.union - Implemented
BlockManager.takeresulting in significantly fastertakeperformance on mixed-typeDataFrameobjects (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_indexfunction 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