These are the changes in pandas 1.1.2. See :ref:`release` for a full changelog including other versions of pandas.
{{ header }}
- Regression in :meth:`DatetimeIndex.intersection` incorrectly raising
AssertionError
when intersecting against a list (:issue:`35876`) - Fix regression in updating a column inplace (e.g. using
df['col'].fillna(.., inplace=True)
) (:issue:`35731`) - Fix regression in :meth:`DataFrame.append` mixing tz-aware and tz-naive datetime columns (:issue:`35460`)
- Performance regression for :meth:`RangeIndex.format` (:issue:`35712`)
- Regression in :meth:`DataFrame.replace` where a
TypeError
would be raised when attempting to replace elements of type :class:`Interval` (:issue:`35931`)
- Bug in :meth:`DataFrame.eval` with
object
dtype column binary operations (:issue:`35794`) - Bug in :class:`Series` constructor raising a
TypeError
when constructing sparse datetime64 dtypes (:issue:`35762`) - Bug in :meth:`DataFrame.apply` with
result_type="reduce"
returning with incorrect index (:issue:`35683`) - Bug in :meth:`DateTimeIndex.format` and :meth:`PeriodIndex.format` with
name=True
setting the first item to"None"
where it should be""
(:issue:`35712`) - Bug in :meth:`Float64Index.__contains__` incorrectly raising
TypeError
instead of returningFalse
(:issue:`35788`) - Bug in :class:`DataFrame` indexing returning an incorrect :class:`Series` in some cases when the series has been altered and a cache not invalidated (:issue:`33675`)
- :meth:`factorize` now supports
na_sentinel=None
to include NaN in the uniques of the values and removedropna
keyword which was unintentionally exposed to public facing API in 1.1 version from :meth:`factorize` (:issue:`35667`)
.. contributors:: v1.1.1..v1.1.2|HEAD