Version 0.20.3 (July 7, 2017) — pandas 2.2.3 documentation (original) (raw)
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.
What’s new in v0.20.3
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
UTC
is a timezone in a Series/DataFrame/Index (GH 16608) - Bug in
Series
construction when passing aSeries
withdtype='category'
(GH 16524). - Bug in DataFrame.astype() when passing a
Series
as thedtype
kwarg. (GH 16717).
Indexing#
- Bug in
Float64Index
causing an empty array instead ofNone
to be returned from.get(np.nan)
on a Series whose index did not contain anyNaN
s (GH 8569) - Bug in
MultiIndex.isin
causing 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 a
Series
saved to an HDF file in ‘fixed’ format fails when an explicitmode='r'
argument is supplied (GH 16583) - Bug in DataFrame.to_latex() where
bold_rows
was wrongly specified to beTrue
by 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
DataFrame
with 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 a
KeyError
when categorical data is used for plotting (GH 16199)
Reshaping#
PeriodIndex
/TimedeltaIndex.join
was missing thesort=
kwarg (GH 16541)- Bug in joining on a
MultiIndex
with acategory
dtype for a level (GH 16627). - Bug in merge() when merging/joining with multiple categorical columns (GH 16767)
Categorical#
- Bug in
DataFrame.sort_values
not respecting thekind
parameter with categorical data (GH 16793)
Contributors#
A total of 20 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.
- Bran Yang
- Chris
- Chris Kerr +
- DSM
- David Gwynne
- Douglas Rudd
- Forbidden Donut +
- Jeff Reback
- Joris Van den Bossche
- Karel De Brabandere +
- Peter Quackenbush +
- Pradyumna Reddy Chinthala +
- Telt +
- Tom Augspurger
- chris-b1
- gfyoung
- ian +
- jdeschenes +
- kjford +
- ri938 +