- Update to 2.3.1 * This release includes some improvements and fixes to the future string data type (preview feature for the upcoming pandas 3.0) ## Improvements and fixes for the StringDtype * Comparisons between different string dtypes * Index set operations ignore empty RangeIndex and object dtype Index ## Bug fixes * Bug in DataFrameGroupBy.min(), DataFrameGroupBy.max(), Resampler.min(), Resampler.max() where all NA values of string dtype would return float instead of string dtype (GH 60810) * Bug in DataFrame.join() incorrectly downcasting object-dtype indexes (GH 61771) * Bug in DataFrame.sum() with axis=1, DataFrameGroupBy.sum() or SeriesGroupBy.sum() with skipna=True, and Resampler.sum() with all NA values of StringDtype resulted in 0 instead of the empty string "" (GH 60229) * Fixed bug in DataFrame.explode() and Series.explode() where methods would fail with dtype="str" (GH 61623) * Fixed bug in unpickling objects pickled in pandas versions pre-2.3.0 that used StringDtype (GH 61763) - Release 2.3.0 ## Enhancements * The semantics for the copy keyword in __array__ methods (i.e. called when using np.array() or np.asarray() on pandas objects) has been updated to work correctly with NumPy >= 2 (GH 57739) * Series.str.decode() result now has StringDtype when future.infer_string is True (GH 60709) * to_hdf() and to_hdf() now round-trip with StringDtype (GH 60663) OBS-URL: https://build.opensuse.org/request/show/1292272 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pandas?expand=0&rev=77
Description
No description provided
Languages
Diff
100%