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
+10-10
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,8 @@ New features
22
22
23
23
- Support for `PEP 519 -- Adding a file system path protocol
24
24
<https://www.python.org/dev/peps/pep-0519/>`_ on most readers and writers (:issue:`13823`)
25
-
- Added `__fspath__` method to :class`:pandas.HDFStore`, :class:`pandas.ExcelFile`,
26
-
and :class:`pandas.ExcelWriter` to work properly with the file system path protocol (:issue:`13823`)
25
+
- Added ``__fspath__`` method to :class:`~pandas.HDFStore`, :class:`~pandas.ExcelFile`,
26
+
and :class:`~pandas.ExcelWriter` to work properly with the file system path protocol (:issue:`13823`)
27
27
28
28
.. _whatsnew_0210.enhancements.other:
29
29
@@ -33,12 +33,12 @@ Other Enhancements
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
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
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>`__
38
-
- :func:`api.types.infer_dtype` now infers decimals. (:issue:`15690`)
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>`__
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
-
- :func:`DataFrame.clip()` and :func: `Series.cip()` have gained an inplace argument. (:issue:`15388`)
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`)
40
+
- :func:`DataFrame.clip()` and :func: `Series.clip()` have gained an inplace argument. (:issue:`15388`)
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
42
43
43
.. _whatsnew_0210.api_breaking:
44
44
@@ -98,13 +98,13 @@ Conversion
98
98
Indexing
99
99
^^^^^^^^
100
100
101
-
- When called with a null slice (e.g. ``df.iloc[:]``), the``iloc`` and ``loc`` indexers return a shallow copy of the original object. Previously they returned the original object. (:issue:`13873`).
101
+
- When called with a null slice (e.g. ``df.iloc[:]``), the ``.iloc`` and ``.loc`` indexers return a shallow copy of the original object. Previously they returned the original object. (:issue:`13873`).
102
102
103
103
104
104
I/O
105
105
^^^
106
106
107
-
- Bug in ``pd.read_csv()`` in which non integer values for the header argument generated an unhelpful / unrelated error message (:issue:`16338`)
107
+
- Bug in :func:`read_csv` in which non integer values for the header argument generated an unhelpful / unrelated error message (:issue:`16338`)
108
108
109
109
110
110
Plotting
@@ -114,7 +114,7 @@ Plotting
114
114
115
115
Groupby/Resample/Rolling
116
116
^^^^^^^^^^^^^^^^^^^^^^^^
117
-
- Bug in ``DataFrame.resample().size()`` where an empty DataFrame did not return a Series (:issue:`14962`)
117
+
- Bug in ``DataFrame.resample().size()`` where an empty ``DataFrame`` did not return a ``Series`` (:issue:`14962`)
0 commit comments