Skip to content

Latest commit

 

History

History
118 lines (75 loc) · 2.85 KB

v0.24.1.rst

File metadata and controls

118 lines (75 loc) · 2.85 KB
orphan:

Whats New in 0.24.1 (February XX, 2019)

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.1. See :ref:`release` for a full changelog including other versions of pandas.

API Changes

Changing the sort parameter for :class:`Index` set operations

The default sort value for :meth:`Index.union` has changed from True to None (:issue:`24959`). The default behavior, however, remains the same: the result is sorted, unless

  1. self and other are identical
  2. self or other is empty
  3. self or other contain values that can not be compared (a RuntimeWarning is raised).

This change will allow to preserve sort=True to mean "always sort" in a future release.

The same change applies to :meth:`Index.difference` and :meth:`Index.symmetric_difference`, which would do not sort the result when the values could not be compared.

For :meth:`Index.intersection` the option of sort=True is also renamed to sort=None (but for :meth:`Index.intersection` it is not the default), as the result is not sorted when self and other were identical.

Fixed Regressions

Enhancements

Bug Fixes

Conversion

Indexing

I/O

Categorical

Timezones

Timedelta - Bug in :func:`to_timedelta` with box=False incorrectly returning a datetime64 object instead of a timedelta64 object (:issue:`24961`) - - -

Reshaping

Visualization

Other

Contributors

.. contributors:: v0.24.0..v0.24.1