These are the changes in pandas 1.1.1. See :ref:`release` for a full changelog including other versions of pandas.
{{ header }}
- Fixed regression where :meth:`DataFrame.to_numpy` would raise a
RuntimeError
for mixed dtypes when converting tostr
(:issue:`35455`) - Fixed regression where :func:`read_csv` would raise a
ValueError
whenpandas.options.mode.use_inf_as_na
was set toTrue
(:issue:`35493`). - Fixed regression where :func:`pandas.testing.assert_series_equal` would raise an error when non-numeric dtypes were passed with
check_exact=True
(:issue:`35446`) - Fixed regression in :class:`pandas.core.groupby.RollingGroupby` where column selection was ignored (:issue:`35486`)
- Fixed regression in :meth:`DataFrame.shift` with
axis=1
and heterogeneous dtypes (:issue:`35488`) - Fixed regression in
.groupby(..).rolling(..)
where a segfault would occur withcenter=True
and an odd number of values (:issue:`35552`)
- Bug in
Styler
whereby cell_ids argument had no effect due to other recent changes (:issue:`35588`).
- Bug in :meth:`CategoricalIndex.format` where, when stringified scalars had different lengths, the shorter string would be right-filled with spaces, so it had the same length as the longest string (:issue:`35439`)
Datetimelike
Timedelta
- Bug in :meth:`to_timedelta` fails when arg is a :class:`Series` with Int64 dtype containing null values (:issue:`35574`)
Numeric
Plotting
Indexing
- Bug in :meth:`Series.truncate` when trying to truncate a single-element series (:issue:`35544`)
DataFrame
- Bug in :class:`DataFrame` constructor failing to raise ValueError
in some cases when data and index have mismatched lengths (:issue:`33437`)
-
.. contributors:: v1.1.0..v1.1.1|HEAD