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
+2-1
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ New features
30
30
Other Enhancements
31
31
^^^^^^^^^^^^^^^^^^
32
32
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 will be raised. For more, see :ref:`here <merging.validation>` (:issue:`16270`)
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
36
- :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>`__
@@ -51,6 +51,7 @@ Backwards incompatible API changes
51
51
Other API Changes
52
52
^^^^^^^^^^^^^^^^^
53
53
54
+
- Moved definition of ``MergeError`` to the ``pandas.errors`` module.
0 commit comments