Skip to content

Commit 207299d

Browse files
committed
keep comment
1 parent cf7406a commit 207299d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/core/frame.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6161,6 +6161,7 @@ def f(vals) -> tuple[np.ndarray, int]:
61616161
):
61626162
subset_iterable = (subset,)
61636163
else:
6164+
# needed for mypy since can't narrow types using np.iterable
61646165
subset_iterable = cast(Iterable, subset)
61656166

61666167
# Verify all columns in subset exist in the queried dataframe

0 commit comments

Comments
 (0)