Skip to content

Commit 64f17d5

Browse files
committed
Fix wrong default
1 parent f5ec58f commit 64f17d5

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

pandas/core/dtypes/cast.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,11 +1011,9 @@ def convert_dtypes(
10111011
infer_objects : bool, defaults False
10121012
Whether to also infer objects to float/int if possible. Is only hit if the
10131013
object array contains pd.NA.
1014-
dtype_backend : {'numpy_nullable', 'pyarrow'}
1014+
dtype_backend : {'numpy_nullable', 'pyarrow'}, default 'numpy_nullable'
10151015
Back-end data type applied to the resultant :class:`DataFrame`
1016-
(still experimental). If not specified, the default behavior
1017-
is to not use nullable data types. If specified, the behavior
1018-
is as follows:
1016+
(still experimental). If specified, the behavior is as follows:
10191017
10201018
* ``"numpy_nullable"``: returns with nullable-dtype-backed
10211019
* ``"pyarrow"``: returns with pyarrow-backed nullable :class:`ArrowDtype`

pandas/core/generic.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6650,11 +6650,9 @@ def convert_dtypes(
66506650
Whether, if possible, conversion can be done to floating extension types.
66516651
If `convert_integer` is also True, preference will be give to integer
66526652
dtypes if the floats can be faithfully casted to integers.
6653-
dtype_backend : {'numpy_nullable', 'pyarrow'}
6653+
dtype_backend : {'numpy_nullable', 'pyarrow'}, default 'numpy_nullable'
66546654
Back-end data type applied to the resultant :class:`DataFrame`
6655-
(still experimental). If not specified, the default behavior
6656-
is to not use nullable data types. If specified, the behavior
6657-
is as follows:
6655+
(still experimental). If specified, the behavior is as follows:
66586656
66596657
* ``"numpy_nullable"``: returns with nullable-dtype-backed
66606658
* ``"pyarrow"``: returns with pyarrow-backed nullable :class:`ArrowDtype`

0 commit comments

Comments
 (0)