Skip to content

Commit 346e03f

Browse files
committed
resolved mypy error
1 parent 3917ab8 commit 346e03f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/frame.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4283,8 +4283,8 @@ def check_int_infer_dtype(dtypes):
42834283
elif dtype == "float":
42844284
# GH#42452 : np.dtype("float") coerces to np.float64 from Numpy 1.20
42854285
converted_dtypes.extend(
4286-
[np.float64, np.float32, np.float16]
4287-
) # type: ignore[list-item]
4286+
[np.float64, np.float32, np.float16] # type: ignore[list-item]
4287+
)
42884288
else:
42894289
# error: Argument 1 to "append" of "list" has incompatible type
42904290
# "Union[dtype[Any], ExtensionDtype]"; expected

0 commit comments

Comments
 (0)