Skip to content

Commit 4087a6d

Browse files
committed
Improve
1 parent d03968e commit 4087a6d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pandas/core/dtypes/cast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ def convert_dtypes(
10121012
object array contains pd.NA.
10131013
dtype_backend : {'numpy_nullable', 'pyarrow'}, default 'numpy_nullable'
10141014
Back-end data type applied to the resultant :class:`DataFrame`
1015-
(still experimental). If specified, the behavior is as follows:
1015+
(still experimental). Behavior is as follows:
10161016
10171017
* ``"numpy_nullable"``: returns with nullable-dtype-backed
10181018
* ``"pyarrow"``: returns with pyarrow-backed nullable :class:`ArrowDtype`

pandas/core/generic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6652,8 +6652,8 @@ def convert_dtypes(
66526652
If `convert_integer` is also True, preference will be give to integer
66536653
dtypes if the floats can be faithfully casted to integers.
66546654
dtype_backend : {'numpy_nullable', 'pyarrow'}, default 'numpy_nullable'
6655-
Back-end data type applied to the resultant :class:`DataFrame`
6656-
(still experimental). If specified, the behavior is as follows:
6655+
Back-end data type applied to the resultant :class:`DataFrame` or
6656+
:class:`Series` (still experimental). Behavior is as follows:
66576657
66586658
* ``"numpy_nullable"``: returns with nullable-dtype-backed
66596659
* ``"pyarrow"``: returns with pyarrow-backed nullable :class:`ArrowDtype`

0 commit comments

Comments
 (0)