File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6622,7 +6622,7 @@ def convert_dtypes(
6622
6622
dtype_backend : DtypeBackend = "numpy_nullable" ,
6623
6623
) -> Self :
6624
6624
"""
6625
- Convert columns to the best possible dtypes using dtypes supporting ``pd.NA``.
6625
+ Convert columns from numpy dtypes to the best dtypes that support ``pd.NA``.
6626
6626
6627
6627
Parameters
6628
6628
----------
@@ -6639,13 +6639,13 @@ def convert_dtypes(
6639
6639
If `convert_integer` is also True, preference will be give to integer
6640
6640
dtypes if the floats can be faithfully casted to integers.
6641
6641
dtype_backend : {'numpy_nullable', 'pyarrow'}, default 'numpy_nullable'
6642
- Back-end data type applied to the resultant :class:`DataFrame`
6643
- (still experimental). Behaviour is as follows:
6642
+ Back-end data type applied to the resultant :class:`DataFrame` or
6643
+ :class:`Series` (still experimental). Behaviour is as follows:
6644
6644
6645
6645
* ``"numpy_nullable"``: returns nullable-dtype-backed :class:`DataFrame`
6646
- (default).
6646
+ or :class:`Series` (default).
6647
6647
* ``"pyarrow"``: returns pyarrow-backed nullable :class:`ArrowDtype`
6648
- DataFrame.
6648
+ DataFrame or Series .
6649
6649
6650
6650
.. versionadded:: 2.0
6651
6651
You can’t perform that action at this time.
0 commit comments