Version 0.21.1 (December 12, 2017) — pandas 2.2.3 documentation (original) (raw)

This is a minor bug-fix release in the 0.21.x series and includes some small regression fixes, bug fixes and performance improvements. We recommend that all users upgrade to this version.

Highlights include:

What’s new in v0.21.1

Restore Matplotlib datetime converter registration#

pandas implements some matplotlib converters for nicely formatting the axis labels on plots with datetime or Period values. Prior to pandas 0.21.0, these were implicitly registered with matplotlib, as a side effect of import pandas.

In pandas 0.21.0, we required users to explicitly register the converter. This caused problems for some users who relied on those converters being present for regular matplotlib.pyplot plotting methods, so we’re temporarily reverting that change; pandas 0.21.1 again registers the converters on import, just like before 0.21.0.

We’ve added a new option to control the converters:pd.options.plotting.matplotlib.register_converters. By default, they are registered. Toggling this to False removes pandas’ formatters and restore any converters we overwrote when registering them (GH 18301).

We’re working with the matplotlib developers to make this easier. We’re trying to balance user convenience (automatically registering the converters) with import performance and best practices (importing pandas shouldn’t have the side effect of overwriting any custom converters you’ve already set). In the future we hope to have most of the datetime formatting functionality in matplotlib, with just the pandas-specific converters in pandas. We’ll then gracefully deprecate the automatic registration of converters in favor of users explicitly registering them when they want them.

New features#

Improvements to the Parquet IO functionality#

Other enhancements#

Deprecations#

Performance improvements#

Bug fixes#

Conversion#

Indexing#

IO#

Plotting#

GroupBy/resample/rolling#

Reshaping#

Numeric#

Categorical#

String#

Contributors#

A total of 46 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.