Version 0.20.3 (July 7, 2017)#
This is a minor bug-fix release in the 0.20.x series and includes some small regression fixes and bug fixes. We recommend that all users upgrade to this version.
Bug fixes#
Fixed a bug in failing to compute rolling computations of a column-MultiIndexed
DataFrame(GH 16789, GH 16825)Fixed a pytest marker failing downstream packages’ tests suites (GH 16680)
Conversion#
Bug in pickle compat prior to the v0.20.x series, when
UTCis a timezone in a Series/DataFrame/Index (GH 16608)Bug in
Seriesconstruction when passing aSerieswithdtype='category'(GH 16524).Bug in
DataFrame.astype()when passing aSeriesas thedtypekwarg. (GH 16717).
Indexing#
Bug in
Float64Indexcausing an empty array instead ofNoneto be returned from.get(np.nan)on a Series whose index did not contain anyNaNs (GH 8569)Bug in
MultiIndex.isincausing an error when passing an empty iterable (GH 16777)Fixed a bug in a slicing DataFrame/Series that have a
TimedeltaIndex(GH 16637)
IO#
Bug in
read_csv()in which files weren’t opened as binary files by the C engine on Windows, causing EOF characters mid-field, which would fail (GH 16039, GH 16559, GH 16675)Bug in
read_hdf()in which reading aSeriessaved to an HDF file in ‘fixed’ format fails when an explicitmode='r'argument is supplied (GH 16583)Bug in
DataFrame.to_latex()wherebold_rowswas wrongly specified to beTrueby default, whereas in reality row labels remained non-bold whatever parameter provided. (GH 16707)Fixed an issue with
DataFrame.style()where generated element ids were not unique (GH 16780)Fixed loading a
DataFramewith aPeriodIndex, from aformat='fixed'HDFStore, in Python 3, that was written in Python 2 (GH 16781)
Plotting#
Fixed regression that prevented RGB and RGBA tuples from being used as color arguments (GH 16233)
Fixed an issue with
DataFrame.plot.scatter()that incorrectly raised aKeyErrorwhen categorical data is used for plotting (GH 16199)
Reshaping#
Categorical#
Bug in
DataFrame.sort_valuesnot respecting thekindparameter with categorical data (GH 16793)