doc/source/whatsnew/v1.1.3.rst
.. _whatsnew_113:
These are the changes in pandas 1.1.3. See :ref:release for a full changelog
including other versions of pandas.
{{ header }}
.. ---------------------------------------------------------------------------
Enhancements
Added support for new Python version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pandas 1.1.3 now supports Python 3.9 (:issue:`36296`).
Development Changes
^^^^^^^^^^^^^^^^^^^
- The minimum version of Cython is now the most recent bug-fix version (0.29.21) (:issue:`36296`).
.. ---------------------------------------------------------------------------
.. _whatsnew_113.regressions:
Fixed regressions
DataFrame.agg, :meth:DataFrame.apply, :meth:Series.agg, and :meth:Series.apply where internal suffix is exposed to the users when no relabelling is applied (:issue:36189)IntegerArray unary plus and minus operations raising a TypeError (:issue:36063)timedelta_range to a :class:Timestamp raised a ValueError (:issue:35897)Series.__getitem__ incorrectly raising when the input was a tuple (:issue:35534)Series.__getitem__ incorrectly raising when the input was a frozenset (:issue:35747)Index, :class:Series and :class:DataFrame using numexpr using C not Python semantics (:issue:36047, :issue:36526)read_excel with engine="odf" caused UnboundLocalError in some cases where cells had nested child nodes (:issue:36122, :issue:35802)DataFrame.replace inconsistent replace when using a float in the replace method (:issue:35376)Series.loc on a :class:Series with a :class:MultiIndex containing :class:Timestamp raising InvalidIndexError (:issue:35858)DataFrame and :class:Series comparisons between numeric arrays and strings (:issue:35700, :issue:36377)DataFrame.apply with raw=True and user-function returning string (:issue:35940)DataFrame column to a :class:Series in preserving name of index in frame (:issue:36527)Period incorrect value for ordinal over the maximum timestamp (:issue:36430)read_table raised ValueError when delim_whitespace was set to True (:issue:35958)Series.dt.normalize when normalizing pre-epoch dates the result was shifted one day (:issue:36294).. ---------------------------------------------------------------------------
.. _whatsnew_113.bug_fixes:
Bug fixes
- Bug in :func:`read_spss` where passing a ``pathlib.Path`` as ``path`` would raise a ``TypeError`` (:issue:`33666`)
- Bug in :meth:`Series.str.startswith` and :meth:`Series.str.endswith` with ``category`` dtype not propagating ``na`` parameter (:issue:`36241`)
- Bug in :class:`Series` constructor where integer overflow would occur for sufficiently large scalar inputs when an index was provided (:issue:`36291`)
- Bug in :meth:`DataFrame.sort_values` raising an ``AttributeError`` when sorting on a key that casts column to categorical dtype (:issue:`36383`)
- Bug in :meth:`DataFrame.stack` raising a ``ValueError`` when stacking :class:`MultiIndex` columns based on position when the levels had duplicate names (:issue:`36353`)
- Bug in :meth:`Series.astype` showing too much precision when casting from ``np.float32`` to string dtype (:issue:`36451`)
- Bug in :meth:`Series.isin` and :meth:`DataFrame.isin` when using ``NaN`` and a row length above 1,000,000 (:issue:`22205`)
- Bug in :func:`cut` raising a ``ValueError`` when passed a :class:`Series` of labels with ``ordered=False`` (:issue:`36603`)
.. ---------------------------------------------------------------------------
.. _whatsnew_113.other:
Other
~~~~~
- Reverted enhancement added in pandas-1.1.0 where :func:`timedelta_range` infers a frequency when passed ``start``, ``stop``, and ``periods`` (:issue:`32377`)
.. ---------------------------------------------------------------------------
.. _whatsnew_113.contributors:
Contributors
.. contributors:: v1.1.2..v1.1.3