pandas: false positive with a multi-index #850
Labels
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
typestub
Issue relating to our bundled type stubs
Environment data
Expected behaviour
No false positive.
Actual behaviour
False positive on the following piece of code :
The last line is reported as an error :
No overloads for "t[('A0', 'B0')]" match parameters Calling function "__getitem__" Argument types: (tuple[Literal['A0'], Literal['B0']])
I think Pylance doesn't understand correctly that tuples can be used in a multiindex settings?
I can provide logs if needed. Thanks for this great extension!
The text was updated successfully, but these errors were encountered: