Skip to content

Commit 30c5c16

Browse files
committed
Typing
1 parent 6da0517 commit 30c5c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/dtypes/cast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ def convert_dtypes(
10831083
elif isinstance(inferred_dtype, (BaseMaskedDtype, ArrowDtype)):
10841084
base_dtype = inferred_dtype.numpy_dtype
10851085
elif isinstance(inferred_dtype, StringDtype):
1086-
base_dtype = str
1086+
base_dtype = np.dtype(str)
10871087
else:
10881088
base_dtype = inferred_dtype
10891089
pa_type = to_pyarrow_type(base_dtype)

0 commit comments

Comments
 (0)