doc/source/whatsnew/v3.0.2.rst
.. _whatsnew_302:
These are the changes in pandas 3.0.2. See :ref:release for a full changelog
including other versions of pandas.
{{ header }}
.. --------------------------------------------------------------------------- .. _whatsnew_302.enhancements:
Enhancements
- Added support for :func:`pd.col` expressions in :meth:`Series.case_when` (:issue:`64070`).
.. ---------------------------------------------------------------------------
.. _whatsnew_302.regressions:
Fixed regressions
HDFStore.select where the where clause on a datetime index silently returned empty results when the index had non-nanosecond resolution (:issue:64310)Series.interpolate where limit_direction="both" with limit greater than the Series length raised ValueError (:issue:64322).. --------------------------------------------------------------------------- .. _whatsnew_302.bug_fixes:
Bug fixes ^^^^^^^^^
col and expressions derived from it failed with power (**) and matrix multiplication (@) operators (:issue:64267)pd.NA to a string column could trigger a PyArrow error and corrupt data (:issue:64320)col with Python functions :func:bool, :func:iter, :func:copy, and :func:deepcopy either failed or produced incorrect results; these now all raise a TypeError (:issue:64267)~Series.sum method with python-backed string dtype returning incorrect value for an empty Series and ignoring the min_count argument (:issue:64683)DataFrame.div ignored the axis argument when used with level for MultiIndex columns (:issue:64428).. --------------------------------------------------------------------------- .. _whatsnew_302.contributors:
Contributors
.. contributors:: v3.0.1..v3.0.2|HEAD