We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7963422 commit 78c8d83Copy full SHA for 78c8d83
pandas/core/frame.py
@@ -4280,6 +4280,8 @@ def check_int_infer_dtype(dtypes):
4280
# error: Argument 1 to "append" of "list" has incompatible type
4281
# "Type[signedinteger[Any]]"; expected "Type[signedinteger[Any]]"
4282
converted_dtypes.append(np.int64) # type: ignore[arg-type]
4283
+ elif dtype == "float":
4284
+ converted_dtypes.extend([np.float64, np.float32])
4285
else:
4286
4287
# "Union[dtype[Any], ExtensionDtype]"; expected
0 commit comments