Skip to content

Commit a89faf6

Browse files
committed
resolved mypy error
1 parent 5d2c933 commit a89faf6

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
@@ -4282,8 +4282,8 @@ def check_int_infer_dtype(dtypes):
42824282
elif dtype == "float":
42834283
# GH#42452 : np.dtype("float") coerces to np.float64 from Numpy 1.20
42844284
converted_dtypes.extend(
4285-
[np.float64, np.float32, np.float16]
4286-
) # type: ignore[list-item]
4285+
[np.float64, np.float32, np.float16] # type: ignore[list-item]
4286+
)
42874287
else:
42884288
# error: Argument 1 to "append" of "list" has incompatible type
42894289
# "Union[dtype[Any], ExtensionDtype]"; expected

0 commit comments

Comments
 (0)