You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backport PR #60940: ENH: Add dtype argument to str.decode (#60968)
* ENH: Improved error message and raise new error for small-string NaN edge case in HDFStore.append (#60829)
* Add clearer error messages for datatype mismatch in HDFStore.append. Raise ValueError when nan_rep too large for pytable column. Add and modify applicable test code.
* Fix missed tests and correct mistake in error message.
* Remove excess comments. Reverse error type change to avoid api changes. Move nan_rep tests into separate function.
(cherry picked from commit 57340ec)
* TST(string dtype): Resolve xfails in pytables (#60795)
(cherry picked from commit 4511251)
* BUG(string dtype): Resolve pytables xfail when reading with condition (#60943)
(cherry picked from commit 0ec5f26)
* Backport PR #60940: ENH: Add dtype argument to str.decode
---------
Co-authored-by: Jake Thomas Trevallion <[email protected]>
Copy file name to clipboardexpand all lines: doc/source/whatsnew/v2.3.0.rst
+1
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ Other enhancements
37
37
updated to raise FutureWarning with NumPy >= 2 (:issue:`60340`)
38
38
- :meth:`Series.str.decode` result now has ``StringDtype`` when ``future.infer_string`` is True (:issue:`60709`)
39
39
- :meth:`~Series.to_hdf` and :meth:`~DataFrame.to_hdf` now round-trip with ``StringDtype`` (:issue:`60663`)
40
+
- The :meth:`Series.str.decode` has gained the argument ``dtype`` to control the dtype of the result (:issue:`60940`)
40
41
- The :meth:`~Series.cumsum`, :meth:`~Series.cummin`, and :meth:`~Series.cummax` reductions are now implemented for ``StringDtype`` columns when backed by PyArrow (:issue:`60633`)
41
42
- The :meth:`~Series.sum` reduction is now implemented for ``StringDtype`` columns (:issue:`59853`)
0 commit comments