What’s new in 1.1.1 (August 20, 2020)#
These are the changes in pandas 1.1.1. See Release notes for a full changelog including other versions of pandas.
Fixed regressions#
Fixed regression in
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 (GH 35439)Fixed regression in
Series.truncate()
when trying to truncate a single-element series (GH 35544)Fixed regression where
DataFrame.to_numpy()
would raise aRuntimeError
for mixed dtypes when converting tostr
(GH 35455)Fixed regression where
read_csv()
would raise aValueError
whenpandas.options.mode.use_inf_as_na
was set toTrue
(GH 35493)Fixed regression where
pandas.testing.assert_series_equal()
would raise an error when non-numeric dtypes were passed withcheck_exact=True
(GH 35446)Fixed regression in
.groupby(..).rolling(..)
where column selection was ignored (GH 35486)Fixed regression where
DataFrame.interpolate()
would raise aTypeError
when theDataFrame
was empty (GH 35598)Fixed regression in
DataFrame.shift()
withaxis=1
and heterogeneous dtypes (GH 35488)Fixed regression in
DataFrame.diff()
with read-only data (GH 35559)Fixed regression in
.groupby(..).rolling(..)
where a segfault would occur withcenter=True
and an odd number of values (GH 35552)Fixed regression in
DataFrame.apply()
where functions that altered the input in-place only operated on a single row (GH 35462)Fixed regression in
DataFrame.reset_index()
would raise aValueError
on emptyDataFrame
with aMultiIndex
with adatetime64
dtype level (GH 35606, GH 35657)Fixed regression where
pandas.merge_asof()
would raise aUnboundLocalError
whenleft_index
,right_index
andtolerance
were set (GH 35558)Fixed regression in
.groupby(..).rolling(..)
where a customBaseIndexer
would be ignored (GH 35557)Fixed regression in
DataFrame.replace()
andSeries.replace()
where compiled regular expressions would be ignored during replacement (GH 35680)Fixed regression in
aggregate()
where a list of functions would produce the wrong results if at least one of the functions did not aggregate (GH 35490)Fixed memory usage issue when instantiating large
pandas.arrays.StringArray
(GH 35499)
Bug fixes#
Bug in
Styler
wherebycell_ids
argument had no effect due to other recent changes (GH 35588) (GH 35663)Bug in
pandas.testing.assert_series_equal()
andpandas.testing.assert_frame_equal()
where extension dtypes were not ignored whencheck_dtypes
was set toFalse
(GH 35715)Bug in
to_timedelta()
fails whenarg
is aSeries
withInt64
dtype containing null values (GH 35574)Bug in
.groupby(..).rolling(..)
where passingclosed
with column selection would raise aValueError
(GH 35549)Bug in
DataFrame
constructor failing to raiseValueError
in some cases whendata
andindex
have mismatched lengths (GH 33437)
Contributors#
A total of 20 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.
Ali McMaster
Daniel Saxton
Eric Goddard +
Fangchen Li
Isaac Virshup
Joris Van den Bossche
Kevin Sheppard
Matthew Roeschke
MeeseeksMachine +
Pandas Development Team
Richard Shadrach
Simon Hawkins
Terji Petersen
Tom Augspurger
Yutaro Ikeda +
attack68 +
edwardkong +
gabicca +
jbrockmendel
sanderland +