.. _whatsnew_230: What's new in 2.3.0 (Month XX, 2024) ------------------------------------ These are the changes in pandas 2.3.0. See :ref:`release` for a full changelog including other versions of pandas. {{ header }} .. --------------------------------------------------------------------------- .. _whatsnew_230.upcoming_changes: Upcoming changes in pandas 3.0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. _whatsnew_230.enhancements: Enhancements ~~~~~~~~~~~~ .. _whatsnew_230.enhancements.enhancement1: enhancement1 ^^^^^^^^^^^^ .. _whatsnew_230.enhancements.other: Other enhancements ^^^^^^^^^^^^^^^^^^ - - .. --------------------------------------------------------------------------- .. _whatsnew_230.notable_bug_fixes: Notable bug fixes ~~~~~~~~~~~~~~~~~ These are bug fixes that might have notable behavior changes. .. _whatsnew_230.notable_bug_fixes.notable_bug_fix1: notable_bug_fix1 ^^^^^^^^^^^^^^^^ .. --------------------------------------------------------------------------- .. _whatsnew_230.deprecations: Deprecations ~~~~~~~~~~~~ - Deprecated allowing non-``bool`` values for ``na`` in :meth:`.str.contains`, :meth:`.str.startswith`, and :meth:`.str.endswith` for dtypes that do not already disallow these (:issue:`59615`) - .. --------------------------------------------------------------------------- .. _whatsnew_230.performance: Performance improvements ~~~~~~~~~~~~~~~~~~~~~~~~ - - .. --------------------------------------------------------------------------- .. _whatsnew_230.bug_fixes: Bug fixes ~~~~~~~~~ Categorical ^^^^^^^^^^^ - - Datetimelike ^^^^^^^^^^^^ - - Timedelta ^^^^^^^^^ - - Timezones ^^^^^^^^^ - - Numeric ^^^^^^^ - - Conversion ^^^^^^^^^^ - - Strings ^^^^^^^ - Bug in :meth:`Series.rank` for :class:`StringDtype` with ``storage="pyarrow"`` incorrectly returning integer results in case of ``method="average"`` and raising an error if it would truncate results (:issue:`59768`) - Bug in :meth:`Series.str.replace` when ``n < 0`` for :class:`StringDtype` with ``storage="pyarrow"`` (:issue:`59628`) - Bug in ``ser.str.slice`` with negative ``step`` with :class:`ArrowDtype` and :class:`StringDtype` with ``storage="pyarrow"`` giving incorrect results (:issue:`59710`) - Bug in the ``center`` method on :class:`Series` and :class:`Index` object ``str`` accessors with pyarrow-backed dtype not matching the python behavior in corner cases with an odd number of fill characters (:issue:`54792`) - Interval ^^^^^^^^ - - Indexing ^^^^^^^^ - - Missing ^^^^^^^ - - MultiIndex ^^^^^^^^^^ - - I/O ^^^ - - Period ^^^^^^ - - Plotting ^^^^^^^^ - - Groupby/resample/rolling ^^^^^^^^^^^^^^^^^^^^^^^^ - - Reshaping ^^^^^^^^^ - - Sparse ^^^^^^ - - ExtensionArray ^^^^^^^^^^^^^^ - - Styler ^^^^^^ - - Other ^^^^^ - - .. --------------------------------------------------------------------------- .. _whatsnew_230.contributors: Contributors ~~~~~~~~~~~~