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.21.0.txt
+12-13
Original file line number
Diff line number
Diff line change
@@ -31,15 +31,15 @@ Other Enhancements
31
31
^^^^^^^^^^^^^^^^^^
32
32
33
33
- The ``validate`` argument for :func:`merge` function now checks whether a merge is one-to-one, one-to-many, many-to-one, or many-to-many. If a merge is found to not be an example of specified merge type, an exception of type ``MergeError`` will be raised. For more, see :ref:`here <merging.validation>` (:issue:`16270`)
34
-
- ``Series.to_dict()`` and ``DataFrame.to_dict()`` now support an ``into`` keyword which allows you to specify the ``collections.Mapping`` subclass that you would like returned. The default is ``dict``, which is backwards compatible. (:issue:`16122`)
35
-
- ``RangeIndex.append`` now returns a ``RangeIndex`` object when possible (:issue:`16212`)
36
-
- ``Series.rename_axis()`` and ``DataFrame.rename_axis()`` with ``inplace=True`` now return ``None`` while renaming the axis inplace. (:issue:`15704`)
37
-
- :func:`to_pickle` has gained a ``protocol`` parameter (:issue:`16252`). By default, this parameter is set to `HIGHEST_PROTOCOL <https://docs.python.org/3/library/pickle.html#data-stream-format>`__
34
+
- :func:`Series.to_dict` and :func:`DataFrame.to_dict` now support an ``into`` keyword which allows you to specify the ``collections.Mapping`` subclass that you would like returned. The default is ``dict``, which is backwards compatible. (:issue:`16122`)
35
+
- :func:`RangeIndex.append` now returns a ``RangeIndex`` object when possible (:issue:`16212`)
36
+
- :func:`Series.rename_axis` and :func:`DataFrame.rename_axis` with ``inplace=True`` now return ``None`` while renaming the axis inplace. (:issue:`15704`)
37
+
- :func:`Series.to_pickle` and :func:`DataFrame.to_pickle` have gained a ``protocol`` parameter (:issue:`16252`). By default, this parameter is set to `HIGHEST_PROTOCOL <https://docs.python.org/3/library/pickle.html#data-stream-format>`__
38
38
- :func:`api.types.infer_dtype` now infers decimals. (:issue:`15690`)
39
39
- :func:`read_feather` has gained the ``nthreads`` parameter for multi-threaded operations (:issue:`16359`)
40
40
- :func:`DataFrame.clip()` and :func:`Series.clip()` have gained an ``inplace`` argument. (:issue:`15388`)
41
41
- :func:`crosstab` has gained a ``margins_name`` parameter to define the name of the row / column that will contain the totals when ``margins=True``. (:issue:`15972`)
42
-
- :func:`Dataframe.select_dtypes` now accepts scalar values for include/exclude as well as list-like. (:issue:`16855`)
42
+
- :func:`DataFrame.select_dtypes` now accepts scalar values for include/exclude as well as list-like. (:issue:`16855`)
43
43
44
44
.. _whatsnew_0210.api_breaking:
45
45
@@ -92,22 +92,21 @@ the target. Now, a ``ValueError`` will be raised when such an input is passed in
92
92
...
93
93
ValueError: Cannot operate inplace if there is no assignment
94
94
95
+
.. _whatsnew_0210.api:
96
+
97
+
Other API Changes
98
+
^^^^^^^^^^^^^^^^^
99
+
95
100
- Support has been dropped for Python 3.4 (:issue:`15251`)
96
101
- The Categorical constructor no longer accepts a scalar for the ``categories`` keyword. (:issue:`16022`)
97
-
- Accessing a non-existent attribute on a closed :class:`HDFStore` will now
102
+
- Accessing a non-existent attribute on a closed :class:`~pandas.HDFStore` will now
98
103
raise an ``AttributeError`` rather than a ``ClosedFileError`` (:issue:`16301`)
99
104
- :func:`read_csv` now treats ``'null'`` strings as missing values by default (:issue:`16471`)
100
105
- :func:`read_csv` now treats ``'n/a'`` strings as missing values by default (:issue:`16078`)
101
106
- :class:`pandas.HDFStore`'s string representation is now faster and less detailed. For the previous behavior, use ``pandas.HDFStore.info()``. (:issue:`16503`).
102
107
- Compression defaults in HDF stores now follow pytable standards. Default is no compression and if ``complib`` is missing and ``complevel`` > 0 ``zlib`` is used (:issue:`15943`)
103
108
- ``Index.get_indexer_non_unique()`` now returns a ndarray indexer rather than an ``Index``; this is consistent with ``Index.get_indexer()`` (:issue:`16819`)
104
109
- Removed the ``@slow`` decorator from ``pandas.util.testing``, which caused issues for some downstream packages' test suites. Use ``@pytest.mark.slow`` instead, which achieves the same thing (:issue:`16850`)
105
-
106
-
.. _whatsnew_0210.api:
107
-
108
-
Other API Changes
109
-
^^^^^^^^^^^^^^^^^
110
-
111
110
- Moved definition of ``MergeError`` to the ``pandas.errors`` module.
112
111
113
112
@@ -127,7 +126,7 @@ Removal of prior version deprecations/changes
127
126
- The ``pd.options.display.mpl_style`` configuration has been dropped (:issue:`12190`)
128
127
- ``Index`` has dropped the ``.sym_diff()`` method in favor of ``.symmetric_difference()`` (:issue:`12591`)
129
128
- ``Categorical`` has dropped the ``.order()`` and ``.sort()`` methods in favor of ``.sort_values()`` (:issue:`12882`)
130
-
- :func:`eval` and :method:`DataFrame.eval` have changed the default of ``inplace`` from ``None`` to ``False`` (:issue:`11149`)
129
+
- :func:`eval` and :func:`DataFrame.eval` have changed the default of ``inplace`` from ``None`` to ``False`` (:issue:`11149`)
131
130
- The function ``get_offset_name`` has been dropped in favor of the ``.freqstr`` attribute for an offset (:issue:`11834`)
0 commit comments