Skip to content

Commit 77ff9e6

Browse files
committed
removing type: ignore[assignment]
1 parent 68e6e13 commit 77ff9e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6772,7 +6772,7 @@ def f(vals) -> tuple[np.ndarray, int]:
67726772
# https://github.com/pandas-dev/pandas/issues/28770
67736773
# Incompatible types in assignment (expression has type "Index", variable
67746774
# has type "Sequence[Any]")
6775-
subset = self.columns # type: ignore[assignment]
6775+
subset = self.columns
67766776
elif (
67776777
not np.iterable(subset)
67786778
or isinstance(subset, str)

0 commit comments

Comments
 (0)