Skip to content

Commit 8793356

Browse files
committed
DOC: corrections in v0.14.0 / release
DOC: put in anticipated release date in release / v0.14.0 (May 31, 2014)
1 parent cb77f89 commit 8793356

File tree

3 files changed

+49
-22
lines changed

3 files changed

+49
-22
lines changed

doc/source/basics.rst

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,11 +1305,16 @@ argument:
13051305
s.order()
13061306
s.order(na_position='first')
13071307

1308-
Some other sorting notes / nuances:
1308+
.. note::
1309+
1310+
``Series.sort`` sorts a Series by value in-place. This is to provide
1311+
compatibility with NumPy methods which expect the ``ndarray.sort``
1312+
behavior. ``Series.order`` returns a copy of the sorted data.
13091313

1310-
* ``Series.sort`` sorts a Series by value in-place. This is to provide
1311-
compatibility with NumPy methods which expect the ``ndarray.sort``
1312-
behavior.
1314+
.. _basics.nsorted:
1315+
1316+
smallest / largest values
1317+
~~~~~~~~~~~~~~~~~~~~~~~~~
13131318

13141319
.. versionadded:: 0.14.0
13151320

@@ -1326,6 +1331,8 @@ faster than sorting the entire Series and calling ``head(n)`` on the result.
13261331
s.nlargest(3)
13271332

13281333

1334+
.. _basics.multi-index_sorting:
1335+
13291336
Sorting by a multi-index column
13301337
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13311338

doc/source/release.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ analysis / manipulation tool available in any language.
4848
pandas 0.14.0
4949
-------------
5050

51-
**Release date:** (not yet released)
51+
**Release date:** (May 31, 2014)
5252

5353
New features
5454
~~~~~~~~~~~~
@@ -77,7 +77,7 @@ API Changes
7777
indexed. These will be excluded. This will make pandas conform more with pandas/numpy indexing of out-of-bounds
7878
values. A single indexer that is out-of-bounds and drops the dimensions of the object will still raise
7979
``IndexError`` (:issue:`6296`)
80-
- ``select_as_multiple`` will always raise a ``KeyError``, when a key or the selector is not found (:issue:`6177`)
80+
- In ``HDFStore``, ``select_as_multiple`` will always raise a ``KeyError``, when a key or the selector is not found (:issue:`6177`)
8181
- ``df['col'] = value`` and ``df.loc[:,'col'] = value`` are now completely equivalent;
8282
previously the ``.loc`` would not necessarily coerce the dtype of the resultant series (:issue:`6149`)
8383
- ``dtypes`` and ``ftypes`` now return a series with ``dtype=object`` on empty containers (:issue:`5740`)
@@ -86,9 +86,9 @@ API Changes
8686
- ``df.to_html`` will now print out the header of an empty dataframe (:issue:`6062`)
8787
- The ``interpolate`` ``downcast`` keyword default has been changed from ``infer`` to
8888
``None``. This is to preseve the original dtype unless explicitly requested otherwise (:issue:`6290`).
89-
- allow ``Series`` and ``Index`` to share common ops. remove the ``Series.weekday`` property from Series;
90-
Using a ``DatetimeIndex/PeriodIndex`` method on a Series will now raise a ``TypeError``.
91-
support ``min(),max(),factorize(),unique(),nunique(),value_counts()`` on ``Index`` types.
89+
- ``Series`` and ``Index`` now internall share more common operations, e.g. ``factorize(),nunique(),value_counts()`` are
90+
now supported on ``Index`` types as well. The ``Series.weekday`` property from is removed
91+
from Series for API consistency. Using a ``DatetimeIndex/PeriodIndex`` method on a Series will now raise a ``TypeError``.
9292
(:issue:`4551`, :issue:`4056`, :issue:`5519`, :issue:`6380`, :issue:`7206`).
9393

9494
- Add ``is_month_start``, ``is_month_end``, ``is_quarter_start``, ``is_quarter_end``,
@@ -117,7 +117,7 @@ API Changes
117117
- ``concat`` will now concatenate mixed Series and DataFrames using the Series name
118118
or numbering columns as needed (:issue:`2385`)
119119
- Slicing and advanced/boolean indexing operations on ``Index`` classes as well
120-
as :meth:`Index.delete` and :meth:`Index.drop` methods will no longer change type of the
120+
as :meth:`Index.delete` and :meth:`Index.drop` methods will no longer change the type of the
121121
resulting index (:issue:`6440`, :issue:`7040`)
122122
- ``set_index`` no longer converts MultiIndexes to an Index of tuples (:issue:`6459`).
123123
- Slicing with negative start, stop & step values handles corner cases better (:issue:`6531`):
@@ -160,7 +160,7 @@ API Changes
160160
DataFrames (:issue:`6762`).
161161
- Added ``nunique`` and ``value_counts`` functions to ``Index`` for counting unique elements. (:issue:`6734`)
162162

163-
- ``DataFrame.plot`` and ``Series.plot`` now support a ``table`` keyword for plotting ``matplotlib.Table``. The ``table`` kewyword can receive the following values.
163+
- ``DataFrame.plot`` and ``Series.plot`` now support a ``table`` keyword for plotting ``matplotlib.Table``. The ``table`` keyword can receive the following values.
164164

165165
- ``False``: Do nothing (default).
166166
- ``True``: Draw a table using the ``DataFrame`` or ``Series`` called ``plot`` method. Data will be transposed to meet matplotlib's default layout.
@@ -169,7 +169,7 @@ API Changes
169169

170170
- drop unused order argument from ``Series.sort``; args now in the same orders as ``Series.order``;
171171
add ``na_position`` arg to conform to ``Series.order`` (:issue:`6847`)
172-
- default sorting algorithm for ``Series.order`` is not ``quicksort``, to conform with ``Series.sort``
172+
- default sorting algorithm for ``Series.order`` is now ``quicksort``, to conform with ``Series.sort``
173173
(and numpy defaults)
174174
- add ``inplace`` keyword to ``Series.order/sort`` to make them inverses (:issue:`6859`)
175175

@@ -189,7 +189,7 @@ API Changes
189189
``delim_whitespace=True`` in :func:`read_csv`/:func:`read_table`
190190
(:issue:`6607`)
191191
- Raise ``ValueError`` when ``engine='c'`` specified with unsupported
192-
options (:issue:`6607`)
192+
options in :func:`read_csv`/:func:`read_table` (:issue:`6607`)
193193
- Raise ``ValueError`` when fallback to python parser causes options to be
194194
ignored (:issue:`6607`)
195195
- Produce :class:`~pandas.io.parsers.ParserWarning` on fallback to python
@@ -396,7 +396,7 @@ Bug Fixes
396396
- ``str.match`` ignored the na flag (:issue:`6609`).
397397
- Bug in take with duplicate columns that were not consolidated (:issue:`6240`)
398398
- Bug in interpolate changing dtypes (:issue:`6290`)
399-
- Bug in Series.get, was using a buggy access method (:issue:`6383`)
399+
- Bug in ``Series.get``, was using a buggy access method (:issue:`6383`)
400400
- Bug in hdfstore queries of the form ``where=[('date', '>=', datetime(2013,1,1)), ('date', '<=', datetime(2014,1,1))]`` (:issue:`6313`)
401401
- Bug in ``DataFrame.dropna`` with duplicate indices (:issue:`6355`)
402402
- Regression in chained getitem indexing with embedded list-like from 0.12 (:issue:`6394`)
@@ -831,7 +831,7 @@ Improvements to existing features
831831
- Added short docstrings to a few methods that were missing them + fixed the
832832
docstrings for Panel flex methods. (:issue:`5336`)
833833
- ``NDFrame.drop()``, ``NDFrame.dropna()``, and ``.drop_duplicates()`` all
834-
accept ``inplace`` as a kewyord argument; however, this only means that the
834+
accept ``inplace`` as a keyword argument; however, this only means that the
835835
wrapper is updated inplace, a copy is still made internally.
836836
(:issue:`1960`, :issue:`5247`, :issue:`5628`, and related :issue:`2325` [still not
837837
closed])

doc/source/v0.14.0.txt

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _whatsnew_0140:
22

3-
v0.14.0 (May ? , 2014)
4-
----------------------
3+
v0.14.0 (May 31 , 2014)
4+
-----------------------
55

66
This is a major release from 0.13.1 and includes a small number of API changes, several new features,
77
enhancements, and performance improvements along with a large number of bug fixes. We recommend that all
@@ -23,6 +23,8 @@ users upgrade to this version.
2323

2424
- :ref:`API Changes <whatsnew_0140.api>`
2525

26+
- :ref:`Text Parsing API Changes <whatsnew_0140.parsing>`
27+
2628
- :ref:`Groupby API Changes <whatsnew_0140.groupby>`
2729

2830
- :ref:`Performance Improvements <whatsnew_0140.performance>`
@@ -75,9 +77,9 @@ API changes
7577
``None``. This is to preseve the original dtype unless explicitly requested otherwise (:issue:`6290`).
7678
- When converting a dataframe to HTML it used to return `Empty DataFrame`. This special case has
7779
been removed, instead a header with the column names is returned (:issue:`6062`).
78-
- allow ``Series`` and ``Index`` to share common ops. remove the ``Series.weekday`` property from Series;
79-
Using a ``DatetimeIndex/PeriodIndex`` method on a Series will now raise a ``TypeError``.
80-
support ``min(),max(),factorize(),unique(),nunique(),value_counts()`` on ``Index`` types.
80+
- ``Series`` and ``Index`` now internall share more common operations, e.g. ``factorize(),nunique(),value_counts()`` are
81+
now supported on ``Index`` types as well. The ``Series.weekday`` property from is removed
82+
from Series for API consistency. Using a ``DatetimeIndex/PeriodIndex`` method on a Series will now raise a ``TypeError``.
8183
(:issue:`4551`, :issue:`4056`, :issue:`5519`, :issue:`6380`, :issue:`7206`).
8284

8385
- Add ``is_month_start``, ``is_month_end``, ``is_quarter_start``, ``is_quarter_end``, ``is_year_start``, ``is_year_end`` accessors for ``DateTimeIndex`` / ``Timestamp`` which return a boolean array of whether the timestamp(s) are at the start/end of the month/quarter/year defined by the frequency of the ``DateTimeIndex`` / ``Timestamp`` (:issue:`4565`, :issue:`6998`)
@@ -100,7 +102,7 @@ API changes
100102
- ``concat`` will now concatenate mixed Series and DataFrames using the Series name
101103
or numbering columns as needed (:issue:`2385`). See :ref:`the docs <merging.mixed_ndims>`
102104
- Slicing and advanced/boolean indexing operations on ``Index`` classes as well
103-
as :meth:`Index.delete` and :meth:`Index.drop` methods will no longer change type of the
105+
as :meth:`Index.delete` and :meth:`Index.drop` methods will no longer change the type of the
104106
resulting index (:issue:`6440`, :issue:`7040`)
105107

106108
.. ipython:: python
@@ -196,6 +198,7 @@ API changes
196198
# this now raises for arith ops like ``+``, ``*``, etc.
197199
NotImplementedError: operator '*' not implemented for bool dtypes
198200

201+
199202
.. _whatsnew_0140.display:
200203

201204
Display Changes
@@ -249,6 +252,23 @@ Display Changes
249252
``verbose=False``.
250253
- Fixed a bug with the `info` repr not honoring the `display.max_info_columns` setting (:issue:`6939`)
251254

255+
.. _whatsnew_0140.parsing:
256+
257+
Text Parsing API Changes
258+
~~~~~~~~~~~~~~~~~~~~~~~~
259+
260+
:func:`read_csv`/:func:`read_table` will now be noiser w.r.t invalid options rather than falling back to the ``PythonParser``.
261+
262+
- Raise ``ValueError`` when ``sep`` specified with
263+
``delim_whitespace=True`` in :func:`read_csv`/:func:`read_table`
264+
(:issue:`6607`)
265+
- Raise ``ValueError`` when ``engine='c'`` specified with unsupported
266+
options in :func:`read_csv`/:func:`read_table` (:issue:`6607`)
267+
- Raise ``ValueError`` when fallback to python parser causes options to be
268+
ignored (:issue:`6607`)
269+
- Produce :class:`~pandas.io.parsers.ParserWarning` on fallback to python
270+
parser when no options are ignored (:issue:`6607`)
271+
252272
.. _whatsnew_0140.groupby:
253273

254274
Groupby API Changes
@@ -729,7 +749,7 @@ Enhancements
729749
values='Quantity', aggfunc=np.sum)
730750

731751
- str.wrap implemented (:issue:`6999`)
732-
- Add nsmallest and nlargest Series methods (:issue:`3960`)
752+
- Add :meth:`~Series.nsmallest` and :meth:`Series.nlargest` methods to Series, See :ref:`the docs <basics.nsorted>` (:issue:`3960`)
733753

734754
- `PeriodIndex` fully supports partial string indexing like `DatetimeIndex` (:issue:`7043`)
735755

0 commit comments

Comments
 (0)