You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added ``nunique`` and ``value_counts`` functions to ``Index`` for counting unique elements. (:issue:`6734`)
162
162
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.
164
164
165
165
- ``False``: Do nothing (default).
166
166
- ``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
169
169
170
170
- drop unused order argument from ``Series.sort``; args now in the same orders as ``Series.order``;
171
171
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``
173
173
(and numpy defaults)
174
174
- add ``inplace`` keyword to ``Series.order/sort`` to make them inverses (:issue:`6859`)
175
175
@@ -189,7 +189,7 @@ API Changes
189
189
``delim_whitespace=True`` in :func:`read_csv`/:func:`read_table`
190
190
(:issue:`6607`)
191
191
- Raise ``ValueError`` when ``engine='c'`` specified with unsupported
192
-
options (:issue:`6607`)
192
+
options in :func:`read_csv`/:func:`read_table` (:issue:`6607`)
193
193
- Raise ``ValueError`` when fallback to python parser causes options to be
194
194
ignored (:issue:`6607`)
195
195
- Produce :class:`~pandas.io.parsers.ParserWarning` on fallback to python
@@ -396,7 +396,7 @@ Bug Fixes
396
396
- ``str.match`` ignored the na flag (:issue:`6609`).
397
397
- Bug in take with duplicate columns that were not consolidated (:issue:`6240`)
398
398
- 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`)
400
400
- Bug in hdfstore queries of the form ``where=[('date', '>=', datetime(2013,1,1)), ('date', '<=', datetime(2014,1,1))]`` (:issue:`6313`)
401
401
- Bug in ``DataFrame.dropna`` with duplicate indices (:issue:`6355`)
402
402
- Regression in chained getitem indexing with embedded list-like from 0.12 (:issue:`6394`)
@@ -831,7 +831,7 @@ Improvements to existing features
831
831
- Added short docstrings to a few methods that were missing them + fixed the
832
832
docstrings for Panel flex methods. (:issue:`5336`)
833
833
- ``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
835
835
wrapper is updated inplace, a copy is still made internally.
836
836
(:issue:`1960`, :issue:`5247`, :issue:`5628`, and related :issue:`2325` [still not
- 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
100
102
- ``concat`` will now concatenate mixed Series and DataFrames using the Series name
101
103
or numbering columns as needed (:issue:`2385`). See :ref:`the docs <merging.mixed_ndims>`
102
104
- 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
104
106
resulting index (:issue:`6440`, :issue:`7040`)
105
107
106
108
.. ipython:: python
@@ -196,6 +198,7 @@ API changes
196
198
# this now raises for arith ops like ``+``, ``*``, etc.
197
199
NotImplementedError: operator '*' not implemented for bool dtypes
198
200
201
+
199
202
.. _whatsnew_0140.display:
200
203
201
204
Display Changes
@@ -249,6 +252,23 @@ Display Changes
249
252
``verbose=False``.
250
253
- Fixed a bug with the `info` repr not honoring the `display.max_info_columns` setting (:issue:`6939`)
251
254
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
+
252
272
.. _whatsnew_0140.groupby:
253
273
254
274
Groupby API Changes
@@ -729,7 +749,7 @@ Enhancements
729
749
values='Quantity', aggfunc=np.sum)
730
750
731
751
- str.wrap implemented (:issue:`6999`)
732
-
- Add nsmallest and nlargestSeries methods (:issue:`3960`)
752
+
- Add :meth:`~Series.nsmallest` and :meth:`Series.nlargest` methods to Series, See :ref:`the docs <basics.nsorted>` (:issue:`3960`)
733
753
734
754
- `PeriodIndex` fully supports partial string indexing like `DatetimeIndex` (:issue:`7043`)
0 commit comments