What’s new in 1.1.2 (September 8, 2020)#
These are the changes in pandas 1.1.2. See Release notes for a full changelog including other versions of pandas.
Fixed regressions#
- Regression in - DatetimeIndex.intersection()incorrectly raising- AssertionErrorwhen intersecting against a list (GH35876)
- Fix regression in updating a column inplace (e.g. using - df['col'].fillna(.., inplace=True)) (GH35731)
- Fix regression in - DataFrame.append()mixing tz-aware and tz-naive datetime columns (GH35460)
- Performance regression for - RangeIndex.format()(GH35712)
- Regression where - MultiIndex.get_loc()would return a slice spanning the full index when passed an empty list (GH35878)
- Fix regression in invalid cache after an indexing operation; this can manifest when setting which does not update the data (GH35521) 
- Regression in - DataFrame.replace()where a- TypeErrorwould be raised when attempting to replace elements of type- Interval(GH35931)
- Fix regression in pickle roundtrip of the - closedattribute of- IntervalIndex(GH35658)
- Fixed regression in - DataFrameGroupBy.agg()where a- ValueError: buffer source array is read-onlywould be raised when the underlying array is read-only (GH36014)
- Fixed regression in - Series.groupby.rolling()number of levels of- MultiIndexin input was compressed to one (GH36018)
- Fixed regression in - DataFrameGroupByon an empty- DataFrame(GH36197)
Bug fixes#
- Bug in - DataFrame.eval()with- objectdtype column binary operations (GH35794)
- Bug in - Seriesconstructor raising a- TypeErrorwhen constructing sparse datetime64 dtypes (GH35762)
- Bug in - DataFrame.apply()with- result_type="reduce"returning with incorrect index (GH35683)
- Bug in - Series.astype()and- DataFrame.astype()not respecting the- errorsargument when set to- "ignore"for extension dtypes (GH35471)
- Bug in - DateTimeIndex.format()and- PeriodIndex.format()with- name=Truesetting the first item to- "None"where it should be- ""(GH35712)
- Bug in - Float64Index.__contains__()incorrectly raising- TypeErrorinstead of returning- False(GH35788)
- Bug in - Seriesconstructor incorrectly raising a- TypeErrorwhen passed an ordered set (GH36044)
- Bug in - Series.dt.isocalendar()and- DatetimeIndex.isocalendar()that returned incorrect year for certain dates (GH36032)
- Bug in - DataFrameindexing returning an incorrect- Seriesin some cases when the series has been altered and a cache not invalidated (GH33675)
- Bug in - DataFrame.corr()causing subsequent indexing lookups to be incorrect (GH35882)
- Bug in - import_optional_dependency()returning incorrect package names in cases where package name is different from import name (GH35948)
- Bug when setting empty - DataFramecolumn to a- Seriesin preserving name of index in frame (GH31368)
Other#
- factorize()now supports- na_sentinel=Noneto include NaN in the uniques of the values and remove- dropnakeyword which was unintentionally exposed to public facing API in 1.1 version from- factorize()(GH35667)
- DataFrame.plot()and- Series.plot()raise- UserWarningabout usage of- FixedFormatterand- FixedLocator(GH35684 and GH35945)
Contributors#
A total of 16 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.
- Ali McMaster 
- Asish Mahapatra 
- Daniel Saxton 
- Fangchen Li 
- Harsh Sharma + 
- Irv Lustig 
- Jeet Parekh + 
- Joris Van den Bossche 
- Kaiqi Dong 
- Matthew Roeschke 
- MeeseeksMachine 
- Pandas Development Team 
- Simon Hawkins 
- Terji Petersen 
- jbrockmendel 
- patrick