v0.12.0 (July 24, 2013)¶
This is a major release from 0.11.0 and includes several new features and enhancements along with a large number of bug fixes.
Highlights include a consistent I/O API naming scheme, routines to read html,
write MultiIndexes to csv files, read & write STATA data files, read & write JSON format
files, Python 3 support for HDFStore, filtering of groupby expressions via filter, and a
revamped replace routine that accepts regular expressions.
API changes¶
The I/O API is now much more consistent with a set of top level
readerfunctions accessed likepd.read_csv()that generally return apandasobject.
read_csvread_excelread_hdfread_sqlread_jsonread_htmlread_stataread_clipboardThe corresponding
writerfunctions are object methods that are accessed likedf.to_csv()
to_csvto_excelto_hdfto_sqlto_jsonto_htmlto_statato_clipboardFix modulo and integer division on Series,DataFrames to act similarly to
floatdtypes to returnnp.nanornp.infas appropriate (GH3590). This correct a numpy bug that treatsintegerandfloatdtypes differently.In [1]: p = pd.DataFrame({'first': [4, 5, 8], 'second': [0, 0, 3]}) In [2]: p % 0 Out[2]: first second 0 NaN NaN 1 NaN NaN 2 NaN NaN In [3]: p % p