|
1 | 1 | .. _whatsnew_0900:
|
2 | 2 |
|
3 |
| -v0.9.0 (September 25, 2012) |
4 |
| ---------------------------- |
| 3 | +v0.9.0 (October 2, 2012) |
| 4 | +------------------------ |
5 | 5 |
|
6 | 6 | This is a major release from 0.8.1 and includes several new features and
|
7 | 7 | enhancements along with a large number of bug fixes. New features include
|
@@ -30,31 +30,62 @@ New features
|
30 | 30 | API changes
|
31 | 31 | ~~~~~~~~~~~
|
32 | 32 |
|
33 |
| - - Creating a Series from another Series, passing an index, will cause |
34 |
| - reindexing to happen inside rather than treating the Series like an |
35 |
| - ndarray. Technically improper usages like Series(df[col1], index=df[col2]) |
36 |
| - that worked before "by accident" (this was never intended) will lead to all |
37 |
| - NA Series in some cases. |
38 |
| - - Deprecated ``day_of_year`` API removed from PeriodIndex, use ``dayofyear`` |
39 |
| - (GH1723_) |
40 |
| - - Don't modify NumPy suppress printoption to True at import time |
41 |
| - - The internal HDF5 data arrangement for DataFrames has been transposed. |
42 |
| - Legacy files will still be readable by HDFStore (GH1834_, GH1824_) |
43 |
| - - Legacy cruft removed: pandas.stats.misc.quantileTS |
44 |
| - - Use ISO8601 format for Period repr: monthly, daily, and on down (GH1776_) |
45 |
| - - Empty DataFrame columns are now created as object dtype. This will prevent |
46 |
| - a class of TypeErrors that was occurring in code where the dtype of a |
47 |
| - column would depend on the presence of data or not (e.g. a SQL query having |
48 |
| - results) (GH1783_) |
49 |
| - - Setting parts of DataFrame/Panel using ix now aligns input Series/DataFrame |
50 |
| - (GH1630_) |
51 |
| - - ``first`` and ``last`` methods in ``GroupBy`` no longer drop non-numeric |
52 |
| - columns (GH1809_) |
53 |
| - - Resolved inconsistencies in specifying custom NA values in text parser. |
54 |
| - ``na_values`` of type dict no longer override default NAs unless |
55 |
| - ``keep_default_na`` is set to false explicitly (GH1657_) |
56 |
| - - ``DataFrame.dot`` will not do data alignment, and also work with Series |
57 |
| - (GH1915_) |
| 33 | + - The default column names when ``header=None`` and no columns names passed to |
| 34 | + functions like ``read_csv`` has changed to be more Pythonic and amenable to |
| 35 | + attribute access: |
| 36 | + |
| 37 | +.. ipython:: python |
| 38 | + |
| 39 | + from StringIO import StringIO |
| 40 | + |
| 41 | + data = '0,0,1\n1,1,0\n0,1,0' |
| 42 | + df = read_csv(StringIO(data), header=None) |
| 43 | + df |
| 44 | + |
| 45 | + |
| 46 | +- Creating a Series from another Series, passing an index, will cause reindexing |
| 47 | + to happen inside rather than treating the Series like an ndarray. Technically |
| 48 | + improper usages like ``Series(df[col1], index=df[col2])11 that worked before |
| 49 | + "by accident" (this was never intended) will lead to all NA Series in some |
| 50 | + cases. To be perfectly clear: |
| 51 | + |
| 52 | +.. ipython:: python |
| 53 | + |
| 54 | + s1 = Series([1, 2, 3]) |
| 55 | + s1 |
| 56 | + |
| 57 | + s2 = Series(s1, index=['foo', 'bar', 'baz']) |
| 58 | + s2 |
| 59 | + |
| 60 | +- Deprecated ``day_of_year`` API removed from PeriodIndex, use ``dayofyear`` |
| 61 | + (GH1723_) |
| 62 | + |
| 63 | +- Don't modify NumPy suppress printoption to True at import time |
| 64 | + |
| 65 | +- The internal HDF5 data arrangement for DataFrames has been transposed. Legacy |
| 66 | + files will still be readable by HDFStore (GH1834_, GH1824_) |
| 67 | + |
| 68 | +- Legacy cruft removed: pandas.stats.misc.quantileTS |
| 69 | + |
| 70 | +- Use ISO8601 format for Period repr: monthly, daily, and on down (GH1776_) |
| 71 | + |
| 72 | +- Empty DataFrame columns are now created as object dtype. This will prevent a |
| 73 | + class of TypeErrors that was occurring in code where the dtype of a column |
| 74 | + would depend on the presence of data or not (e.g. a SQL query having results) |
| 75 | + (GH1783_) |
| 76 | + |
| 77 | +- Setting parts of DataFrame/Panel using ix now aligns input Series/DataFrame |
| 78 | + (GH1630_) |
| 79 | + |
| 80 | +- ``first`` and ``last`` methods in ``GroupBy`` no longer drop non-numeric |
| 81 | + columns (GH1809_) |
| 82 | + |
| 83 | +- Resolved inconsistencies in specifying custom NA values in text parser. |
| 84 | + ``na_values`` of type dict no longer override default NAs unless |
| 85 | + ``keep_default_na`` is set to false explicitly (GH1657_) |
| 86 | + |
| 87 | +- ``DataFrame.dot`` will not do data alignment, and also work with Series |
| 88 | + (GH1915_) |
58 | 89 |
|
59 | 90 |
|
60 | 91 | See the `full release notes
|
|
0 commit comments