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