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
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.20.0.txt
+11-12
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Highlights include:
12
12
- Building pandas for development now requires ``cython >= 0.23`` (:issue:`14831`)
13
13
- The ``.ix`` indexer has been deprecated, see :ref:`here <whatsnew_0200.api_breaking.deprecate_ix>`
14
14
- Switched the test framework to `pytest`_ (:issue:`13097`)
15
-
- A new orient for JSON serialization, ``orient='table'``, that uses the Table Schema spec, see :ref:`here <whatsnew_0200.enhancements.table_schema>`
15
+
- A new orient for JSON serialization, ``orient='table'``, that uses the Table Schema spec, see :ref:`here <whatsnew_0200.enhancements.table_schema>`
16
16
17
17
.. _pytest: http://doc.pytest.org/en/latest/
18
18
@@ -27,11 +27,6 @@ Check the :ref:`API Changes <whatsnew_0200.api_breaking>` and :ref:`deprecations
27
27
New features
28
28
~~~~~~~~~~~~
29
29
30
-
- Integration with the ``feather-format``, including a new top-level ``pd.read_feather()`` and ``DataFrame.to_feather()`` method, see :ref:`here <io.feather>`.
31
-
- ``Series.str.replace()`` now accepts a callable, as replacement, which is passed to ``re.sub`` (:issue:`15055`)
32
-
- ``Series.str.replace()`` now accepts a compiled regular expression as a pattern (:issue:`15446`)
33
-
34
-
35
30
36
31
.. _whatsnew_0200.enhancements.dataio_dtype:
37
32
@@ -193,6 +188,11 @@ You must enable this by setting the ``display.html.table_schema`` option to True
193
188
194
189
Other enhancements
195
190
^^^^^^^^^^^^^^^^^^
191
+
- Integration with the ``feather-format``, including a new top-level ``pd.read_feather()`` and ``DataFrame.to_feather()`` method, see :ref:`here <io.feather>`.
192
+
- ``Series.str.replace()`` now accepts a callable, as replacement, which is passed to ``re.sub`` (:issue:`15055`)
193
+
- ``Series.str.replace()`` now accepts a compiled regular expression as a pattern (:issue:`15446`)
194
+
195
+
196
196
- ``Series.sort_index`` accepts parameters ``kind`` and ``na_position`` (:issue:`13589`, :issue:`14444`)
197
197
198
198
- ``DataFrame`` has gained a ``nunique()`` method to count the distinct values over an axis (:issue:`14336`).
@@ -201,7 +201,6 @@ Other enhancements
201
201
- ``pd.read_excel`` now preserves sheet order when using ``sheetname=None`` (:issue:`9930`)
202
202
- Multiple offset aliases with decimal points are now supported (e.g. '0.5min' is parsed as '30s') (:issue:`8419`)
203
203
- ``.isnull()`` and ``.notnull()`` have been added to ``Index`` object to make them more consistent with the ``Series`` API (:issue:`15300`)
204
-
- ``pd.read_gbq`` method now allows query configuration preferences (:issue:`14742`)
205
204
206
205
- New ``UnsortedIndexError`` (subclass of ``KeyError``) raised when indexing/slicing into an
207
206
unsorted MultiIndex (:issue:`11897`). This allows differentiation between errors due to lack
@@ -228,7 +227,7 @@ Other enhancements
228
227
- ``pd.TimedeltaIndex`` now has a custom datetick formatter specifically designed for nanosecond level precision (:issue:`8711`)
229
228
- ``pd.types.concat.union_categoricals`` gained the ``ignore_ordered`` argument to allow ignoring the ordered attribute of unioned categoricals (:issue:`13410`). See the :ref:`categorical union docs <categorical.union>` for more information.
230
229
- ``pandas.io.json.json_normalize()`` with an empty ``list`` will return an empty ``DataFrame`` (:issue:`15534`)
231
-
- ``Series.sort_values`` accepts a one element list of bool for consistency with the behavior of ``DataFrame.sort_values`` (:issue:`15604`)
@@ -444,7 +443,7 @@ Pandas Google BigQuery support has moved
444
443
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
445
444
446
445
pandas has split off Google BigQuery support into a separate package ``pandas-gbq``. You can ``pip install pandas-gbq`` to get it.
447
-
The functionality of ``pd.read_gbq()`` and ``.to_gbq()`` remains the same with the currently released version of ``pandas-gbq=0.1.2``. (:issue:`15347`)
446
+
The functionality of ``pd.read_gbq()`` and ``.to_gbq()`` remains the same with the currently released version of ``pandas-gbq=0.1.3``. (:issue:`15347`)
448
447
Documentation is now hosted `here <https://pandas-gbq.readthedocs.io/>`__
449
448
450
449
.. _whatsnew_0200.api_breaking.memory_usage:
@@ -611,9 +610,9 @@ Other API Changes
611
610
- ``inplace`` arguments now require a boolean value, else a ``ValueError`` is thrown (:issue:`14189`)
612
611
- ``pandas.api.types.is_datetime64_ns_dtype`` will now report ``True`` on a tz-aware dtype, similar to ``pandas.api.types.is_datetime64_any_dtype``
613
612
- ``DataFrame.asof()`` will return a null filled ``Series`` instead the scalar ``NaN`` if a match is not found (:issue:`15118`)
614
-
- The :func:`pd.read_gbq` method now stores ``INTEGER`` columns as ``dtype=object`` if they contain ``NULL`` values. Otherwise they are stored as ``int64``. This prevents precision lost for integers greather than 2**53. Furthermore ``FLOAT`` columns with values above 10**4 are no longer casted to ``int64`` which also caused precision loss (:issue:`14064`, :issue:`14305`).
615
613
- Reorganization of timeseries development tests (:issue:`14854`)
616
614
- Specific support for ``copy.copy()`` and ``copy.deepcopy()`` functions on NDFrame objects (:issue:`15444`)
615
+
- ``Series.sort_values()`` accepts a one element list of bool for consistency with the behavior of ``DataFrame.sort_values()`` (:issue:`15604`)
617
616
618
617
.. _whatsnew_0200.deprecations:
619
618
@@ -651,7 +650,7 @@ Removal of prior version deprecations/changes
651
650
- ``pandas.stats.fama_macbeth``, ``pandas.stats.ols``, ``pandas.stats.plm`` and ``pandas.stats.var``, as well as the top-level ``pandas.fama_macbeth`` and ``pandas.ols`` routines are removed. Similar functionaility can be found in the `statsmodels <shttp://www.statsmodels.org/dev/>`__ package. (:issue:`11898`)
652
651
- The ``TimeSeries`` and ``SparseTimeSeries`` classes, aliases of ``Series``
653
652
and ``SparseSeries``, are removed (:issue:`10890`, :issue:`15098`).
654
-
- ``Series.is_time_series`` is dropped in favor of ``Series.index.is_all_dates`` (:issue:``)
653
+
- ``Series.is_time_series`` is dropped in favor of ``Series.index.is_all_dates`` (:issue:`15098`)
655
654
- The deprecated ``irow``, ``icol``, ``iget`` and ``iget_value`` methods are removed
656
655
in favor of ``iloc`` and ``iat`` as explained :ref:`here <whatsnew_0170.deprecations>` (:issue:`10711`).
657
656
@@ -681,7 +680,7 @@ Bug Fixes
681
680
- Bug in ``Index`` power operations with reversed operands (:issue:`14973`)
682
681
- Bug in ``TimedeltaIndex`` addition where overflow was being allowed without error (:issue:`14816`)
683
682
- Bug in ``TimedeltaIndex`` raising a ``ValueError`` when boolean indexing with ``loc`` (:issue:`14946`)
684
-
- Bug in ``DatetimeIndex.round()`` and ``Timestamp.round()`` floating point accuracy when rounding by milliseconds or less (:issue:`14440`, :issue:`15578`)
683
+
- Bug in ``DatetimeIndex.round()`` and ``Timestamp.round()`` floating point accuracy when rounding by milliseconds or less (:issue:`14440`, :issue:`15578`)
685
684
- Bug in ``astype()`` where ``inf`` values were incorrectly converted to integers. Now raises error now with ``astype()`` for Series and DataFrames (:issue:`14265`)
686
685
- Bug in ``DataFrame(..).apply(to_numeric)`` when values are of type decimal.Decimal. (:issue:`14827`)
687
686
- Bug in ``describe()`` when passing a numpy array which does not contain the median to the ``percentiles`` keyword argument (:issue:`14908`)
0 commit comments