We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3917ab8 commit 346e03fCopy full SHA for 346e03f
pandas/core/frame.py
@@ -4283,8 +4283,8 @@ def check_int_infer_dtype(dtypes):
4283
elif dtype == "float":
4284
# GH#42452 : np.dtype("float") coerces to np.float64 from Numpy 1.20
4285
converted_dtypes.extend(
4286
- [np.float64, np.float32, np.float16]
4287
- ) # type: ignore[list-item]
+ [np.float64, np.float32, np.float16] # type: ignore[list-item]
+ )
4288
else:
4289
# error: Argument 1 to "append" of "list" has incompatible type
4290
# "Union[dtype[Any], ExtensionDtype]"; expected
0 commit comments