You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument of type "tuple[slice]" cannot be assigned to parameter "idx" of type "IndexType | MaskType | Tuple[IndexType | MaskType, IndexType | MaskType]" in function "__getitem__" Type "tuple[slice]" cannot be assigned to type "IndexType | MaskType | Tuple[IndexType | MaskType, IndexType | MaskType]" "tuple[slice]" is incompatible
Please complete the following information:
OS: ArchLinux
python 3.10.5
pyright 1.1.260
pandas-stub 1.4.3.220704
The text was updated successfully, but these errors were encountered:
AchmadFathoni
changed the title
[iloc] Argument of type "tuple[slice]" cannot be assigned to parameter "idx"
[BUG] Argument of type "tuple[slice]" cannot be assigned to parameter "idx"
Jul 16, 2022
Describe the bug
False positive error warning when using
iloc
function.To Reproduce
Using pyright on
produces
Please complete the following information:
The text was updated successfully, but these errors were encountered: