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 28ff1e8 commit d416587Copy full SHA for d416587
pandas/core/frame.py
@@ -4279,6 +4279,8 @@ def check_int_infer_dtype(dtypes):
4279
# error: Argument 1 to "append" of "list" has incompatible type
4280
# "Type[signedinteger[Any]]"; expected "Type[signedinteger[Any]]"
4281
converted_dtypes.append(np.int64) # type: ignore[arg-type]
4282
+ elif dtype == "float":
4283
+ converted_dtypes.extend([np.float64, np.float32])
4284
else:
4285
4286
# "Union[dtype[Any], ExtensionDtype]"; expected
0 commit comments