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`` when item assignment malfunctions, or inplace operations are specified, but there is no item assignment in the expression (:issue:`16732`)
63
64
64
65
65
66
.. _whatsnew_0210.deprecations:
@@ -78,6 +79,7 @@ Removal of prior version deprecations/changes
78
79
- The ``pd.options.display.mpl_style`` configuration has been dropped (:issue:`12190`)
79
80
- ``Index`` has dropped the ``.sym_diff()`` method in favor of ``.symmetric_difference()`` (:issue:`12591`)
80
81
- ``Categorical`` has dropped the ``.order()`` and ``.sort()`` methods in favor of ``.sort_values()`` (:issue:`12882`)
82
+
- :func:`eval` and :method:`DataFrame.eval` have changed the default of ``inplace`` from ``None`` to ``False`` (:issue:`11149`)
81
83
82
84
83
85
.. _whatsnew_0210.performance:
@@ -143,3 +145,4 @@ Categorical
143
145
144
146
Other
145
147
^^^^^
148
+
- Bug in :func:`eval` where the ``inplace`` parameter was being incorrectly handled (:issue:`16732`)
0 commit comments