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
Actually, I don't know if this is a proper bug, a safeguard, or maybe a misunderstanding.
But, the assert_series_equalrequires that the keyword argument check_like is informed as False when check_index is False, but as stated over the docs, check_like default value is False.
So, in this case, it would not make more sense to allow only inform check_index when its set to False?
To Reproduce
Provide a minimal runnable pandas example that is not properly checked by the stubs.
Please complete the following information:
OS: MacOS M1
OS Version Ventura 13.0
python version: 3.9.12
version of type checker: mypy 0.982 (compiled: yes)
version of installed pandas-stubs
pandas==1.5.1
pandas-stubs==1.5.1.221024
**Additional context**
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Actually, I don't know if this is a proper bug, a safeguard, or maybe a misunderstanding.
But, the
assert_series_equal
requires that the keyword argumentcheck_like
is informed asFalse
whencheck_index
isFalse
, but as stated over the docs,check_like
default value isFalse
.So, in this case, it would not make more sense to allow only inform
check_index
when its set toFalse
?To Reproduce
pandas
example that is not properly checked by the stubs.mypy
orpyright
).Please complete the following information:
OS: MacOS M1
OS Version Ventura 13.0
python version: 3.9.12
version of type checker: mypy 0.982 (compiled: yes)
version of installed pandas-stubs
pandas==1.5.1
pandas-stubs==1.5.1.221024
The text was updated successfully, but these errors were encountered: