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
Deprecated in 0.18.0.
xref gh-11149.
Also patches bug where we were improperly handling
the inplace=False condition, as we were assuming
that target input was non-None when that wasn't
necessarily enforced.
Copy file name to clipboardexpand all lines: doc/source/whatsnew/v0.21.0.txt
+3
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,7 @@ Other API Changes
60
60
^^^^^^^^^^^^^^^^^
61
61
62
62
- Moved definition of ``MergeError`` to the ``pandas.errors`` module.
63
+
- :func:`eval` will now raise a ``ValueError`` in cases where we cannot operate properly on the ``target`` parameter, or when an inplace operation is specified but there is no item assignment in the expression (:issue:`16732`)
63
64
64
65
65
66
.. _whatsnew_0210.deprecations:
@@ -76,6 +77,7 @@ Removal of prior version deprecations/changes
76
77
77
78
- :func:`read_excel()` has dropped the ``has_index_names`` parameter (:issue:`10967`)
78
79
- ``Categorical`` has dropped the ``.order()`` and ``.sort()`` methods in favor of ``.sort_values()`` (:issue:`12882`)
80
+
- :func:`eval` and :method:`DataFrame.eval` have changed the default of ``inplace`` from ``None`` to ``False`` (:issue:`11149`)
79
81
80
82
81
83
.. _whatsnew_0210.performance:
@@ -139,3 +141,4 @@ Categorical
139
141
140
142
Other
141
143
^^^^^
144
+
- Bug in :func:`eval` where the ``inplace`` parameter was being incorrectly handled (:issue:`16732`)
0 commit comments