What’s New in 0.25.0 (April XX, 2019)

Warning

Starting with the 0.25.x series of releases, pandas only supports Python 3.5 and higher. See Plan for dropping Python 2.7 for more details.

These are the changes in pandas 0.25.0. See Release Notes for a full changelog including other versions of pandas.

Other Enhancements

Backwards incompatible API changes

Other API Changes

Deprecations

  • Deprecated the M (months) and Y (year) units parameter of :func: pandas.to_timedelta, :func: pandas.Timedelta and :func: pandas.TimedeltaIndex (GH16344)

Removal of prior version deprecations/changes

  • Removed (parts of) Panel (GH25047,:issue:25191,:issue:25231)

Performance Improvements

  • Significant speedup in SparseArray initialization that benefits most operations, fixing performance regression introduced in v0.20.0 (GH24985)
  • DataFrame.to_stata() is now faster when outputting data with any string or non-native endian columns (GH25045)

Bug Fixes

Categorical

Datetimelike

Timedelta

Timezones

Numeric

  • Bug in to_numeric() in which large negative numbers were being improperly handled (GH24910)
  • Bug in to_numeric() in which numbers were being coerced to float, even though errors was not coerce (GH24910)

Conversion

Strings

Interval

Indexing

Missing

  • Fixed misleading exception message in Series.missing() if argument order is required, but omitted (GH10633, GH24014).

MultiIndex

I/O

  • Fixed bug in missing text when using to_clipboard() if copying utf-16 characters in Python 3 on Windows (GH25040)

Plotting

Groupby/Resample/Rolling

  • Bug in pandas.core.resample.Resampler.agg() with a timezone aware index where OverflowError would raise when passing a list of functions (GH22660)

Reshaping

  • Bug in pandas.merge() adds a string of None if None is assigned in suffixes instead of remain the column name as-is (GH24782).
  • Bug in merge() when merging by index name would sometimes result in an incorrectly numbered index (GH24212)
  • to_records() now accepts dtypes to its column_dtypes parameter (GH24895)

Sparse

  • Significant speedup in SparseArray initialization that benefits most operations, fixing performance regression introduced in v0.20.0 (GH24985)

Other

Contributors

Scroll To Top