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
pd.eval: Series names are now preserved even for "numexpr" engine. (#58437)
* Eval: Series names are preserved for numexpr
Series names are now preserved even when using
numexpr engine. Making the behavior consistent
with python engine.
* Update doc/source/whatsnew/v3.0.0.rst
Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
* Update pandas/core/computation/align.py
Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
* Update pandas/tests/computation/test_eval.py
---------
Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v3.0.0.rst
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -469,6 +469,7 @@ Styler
469
469
Other
470
470
^^^^^
471
471
- Bug in :class:`DataFrame` when passing a ``dict`` with a NA scalar and ``columns`` that would always return ``np.nan`` (:issue:`57205`)
472
+
- Bug in :func:`eval` where the names of the :class:`Series` were not preserved when using ``engine="numexpr"``. (:issue:`10239`)
472
473
- Bug in :func:`unique` on :class:`Index` not always returning :class:`Index` (:issue:`57043`)
473
474
- Bug in :meth:`DataFrame.eval` and :meth:`DataFrame.query` which caused an exception when using NumPy attributes via ``@`` notation, e.g., ``df.eval("@np.floor(a)")``. (:issue:`58041`)
474
475
- Bug in :meth:`DataFrame.eval` and :meth:`DataFrame.query` which did not allow to use ``tan`` function. (:issue:`55091`)
0 commit comments