Skip to content

Commit a5b3882

Browse files
committed
reverting newline in Series.convert_dtypes and precising respective docs in whatsnew
1 parent 8e879da commit a5b3882

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

doc/source/whatsnew/v3.0.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ Bug fixes
544544

545545
Categorical
546546
^^^^^^^^^^^
547-
- Bug in :func:`convert_dtypes` with ``dtype_backend='pyarrow'`` parameter where empty categorical series raise error or get converted to null[pyarrow] (:issue:`59934`)
547+
- Bug in :meth:`Series.convert_dtypes` with ``dtype_backend='pyarrow'`` parameter where empty categorical series raise error or get converted to null[pyarrow] (:issue:`59934`)
548548
-
549549

550550
Datetimelike

pandas/core/dtypes/cast.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,6 @@ def convert_dtypes(
11521152
pa_type = to_pyarrow_type(base_dtype)
11531153
if pa_type is not None:
11541154
inferred_dtype = ArrowDtype(pa_type)
1155-
11561155
elif dtype_backend == "numpy_nullable" and isinstance(inferred_dtype, ArrowDtype):
11571156
# GH 53648
11581157
inferred_dtype = _arrow_dtype_mapping()[inferred_dtype.pyarrow_dtype]

0 commit comments

Comments
 (0)