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
Output:
example.py:5: error: Argument "how" to "join" of "DataFrame" has incompatible type "Literal['cross']"; expected "Literal['left', 'right', 'outer', 'inner']" [arg-type]
Found 1 error in 1 file (checked 1 source file)
Expected output:
output with 0 errors
Please complete the following information:
OS: MacOs
OS Version: Sonoma 14.6
python version: 3.11.10
version of type checker: mypy 1.11.2
version of installed pandas-stubs: 2.2.2.240603
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Using a "cross" join makes mypy throw a warning.
To Reproduce
Create a file example.py with following contents:
Run mypy on it: "mypy example.py "
Output:
example.py:5: error: Argument "how" to "join" of "DataFrame" has incompatible type "Literal['cross']"; expected "Literal['left', 'right', 'outer', 'inner']" [arg-type]
Found 1 error in 1 file (checked 1 source file)
Expected output:
output with 0 errors
Please complete the following information:
pandas-stubs
: 2.2.2.240603Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: