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 aRuntimeErrorfor mixed dtypes when converting tostr(GH 35455)Fixed regression where
read_csv()would raise aValueErrorwhenpandas.options.mode.use_inf_as_nawas 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 aTypeErrorwhen theDataFramewas empty (GH 35598)Fixed regression in
DataFrame.shift()withaxis=1and 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=Trueand 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 aValueErroron emptyDataFramewith aMultiIndexwith adatetime64dtype level (GH 35606, GH 35657)Fixed regression where
pandas.merge_asof()would raise aUnboundLocalErrorwhenleft_index,right_indexandtolerancewere set (GH 35558)Fixed regression in
.groupby(..).rolling(..)where a customBaseIndexerwould 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
DataFrameGroupBy.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
Stylerwherebycell_idsargument 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_dtypeswas set toFalse(GH 35715)Bug in
to_timedelta()fails whenargis aSerieswithInt64dtype containing null values (GH 35574)Bug in
.groupby(..).rolling(..)where passingclosedwith column selection would raise aValueError(GH 35549)Bug in
DataFrameconstructor failing to raiseValueErrorin some cases whendataandindexhave 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 +