orphan: |
---|
Warning
The 0.24.x series of releases will be the last to support Python 2. Future feature releases will support Python 3 only. See :ref:`install.dropping-27` for more.
{{ header }}
These are the changes in pandas 0.24.2. See :ref:`release` for a full changelog including other versions of pandas.
- Fixed regression in :meth:`DataFrame.all` and :meth:`DataFrame.any` where
bool_only=True
was ignored (:issue:`25101`) - Fixed issue in
DataFrame
construction with passing a mixed list of mixed types could segfault. (:issue:`25075`) - Fixed regression in :meth:`DataFrame.apply` causing
RecursionError
whendict
-like classes were passed as argument. (:issue:`25196`) - Fixed regression in :meth:`DataFrame.replace` where
regex=True
was only replacing patterns matching the start of the string (:issue:`25259`) - Fixed regression in :meth:`DataFrame.duplicated()`, where empty dataframe was not returning a boolean dtyped Series. (:issue:`25184`)
- Fixed regression in :meth:`Series.min` and :meth:`Series.max` where
numeric_only=True
was ignored when theSeries
containedCategorical
data (:issue:`25299`) - Fixed regression in subtraction between :class:`Series` objects with
datetime64[ns]
dtype incorrectly raisingOverflowError
when theSeries
on the right contains null values (:issue:`25317`) - Fixed regression in :class:`TimedeltaIndex` where
np.sum(index)
incorrectly returned a zero-dimensional object instead of a scalar (:issue:`25282`) - Fixed regression in
IntervalDtype
construction where passing an incorrect string with 'Interval' as a prefix could result in aRecursionError
. (:issue:`25338`) - Fixed regression in creating a period-dtype array from a read-only NumPy array of period objects. (:issue:`25403`)
- Fixed regression in :class:`Categorical`, where constructing it from a categorical
Series
and an explicitcategories=
that differed from that in theSeries
created an invalid object which could trigger segfaults. (:issue:`25318`) - Fixed regression in :func:`to_timedelta` losing precision when converting floating data to
Timedelta
data (:issue:`25077`). - Fixed pip installing from source into an environment without NumPy (:issue:`25193`)
- Fixed regression in :meth:`DataFrame.replace` where large strings of numbers would be coerced into
int64
, causing anOverflowError
(:issue:`25616`) - Fixed regression in :func:`factorize` when passing a custom
na_sentinel
value withsort=True
(:issue:`25409`). - Fixed regression in :meth:`DataFrame.to_csv` writing duplicate line endings with gzip compress (:issue:`25311`)
I/O
- Better handling of terminal printing when the terminal dimensions are not known (:issue:`25080`)
- Bug in reading a HDF5 table-format
DataFrame
created in Python 2, in Python 3 (:issue:`24925`) - Bug in reading a JSON with
orient='table'
generated by :meth:`DataFrame.to_json` withindex=False
(:issue:`25170`) - Bug where float indexes could have misaligned values when printing (:issue:`25061`)
Categorical
- Bug where calling :meth:`Series.replace` on categorical data could return a
Series
with incorrect dimensions (:issue:`24971`)
Reshaping
- Bug in :meth:`~pandas.core.groupby.GroupBy.transform` where applying a function to a timezone aware column would return a timezone naive result (:issue:`24198`)
- Bug in :func:`DataFrame.join` when joining on a timezone aware :class:`DatetimeIndex` (:issue:`23931`)
Visualization
- Bug in :meth:`Series.plot` where a secondary y axis could not be set to log scale (:issue:`25545`)
Other
- Bug in :meth:`Series.is_unique` where single occurrences of
NaN
were not considered unique (:issue:`25180`) - Bug in :func:`merge` when merging an empty
DataFrame
with anInt64
column or a non-emptyDataFrame
with anInt64
column that is allNaN
(:issue:`25183`) - Bug in
IntervalTree
where aRecursionError
occurs upon construction due to an overflow when adding endpoints, which also causes :class:`IntervalIndex` to crash during indexing operations (:issue:`25485`) - Bug in :attr:`Series.size` raising for some extension-array-backed
Series
, rather than returning the size (:issue:`25580`) - Bug in resampling raising for nullable integer-dtype columns (:issue:`25580`)
A total of 25 people contributed patches to this release. People with a "+" by their names contributed a patch for the first time.
- Albert Villanova del Moral
- Arno Veenstra +
- chris-b1
- Devin Petersohn +
- EternalLearner42 +
- Flavien Lambert +
- gfyoung
- Gioia Ballin
- jbrockmendel
- Jeff Reback
- Jeremy Schendel
- Johan von Forstner +
- Joris Van den Bossche
- Josh
- Justin Zheng
- Kendall Masse
- Matthew Roeschke
- Max Bolingbroke +
- rbenes +
- Sterling Paramore +
- Tao He +
- Thomas A Caswell
- Tom Augspurger
- Vibhu Agarwal +
- William Ayd
- Zach Angell