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 "Series[int]" cannot be assigned to parameter "upper" of type "float | None" in function "clip"
Type "Series[int]" is incompatible with type "float | None"
"Series[int]" is incompatible with "float"
"Series[int]" is incompatible with "None"Pylance[reportArgumentType](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportArgumentType)
Please complete the following information:
OS: Windows 11
OS Version 23H2
python version 3.12.2
version of type checker: Pyright 1.1.373
version of installed pandas-stubs: 2.2.2.240807
The text was updated successfully, but these errors were encountered:
Describe the bug
Hi,
There is an inconsistency with Pandas's doc regarding
clip
. This was already fixed for Series in #443, but not for DataFramepandas-stubs/pandas-stubs/core/frame.pyi
Lines 1633 to 1641 in 2acc94d
To Reproduce
Please complete the following information:
pandas-stubs
: 2.2.2.240807The text was updated successfully, but these errors were encountered: