@@ -3875,14 +3875,22 @@ def _highlight_between(
3875
3875
)
3876
3876
3877
3877
g_left = (
3878
- ops [0 ](data , left )
3878
+ # error: Argument 2 to "ge" has incompatible type "Union[str, float,
3879
+ # Period, Timedelta, Interval[Any], datetime64, timedelta64, datetime,
3880
+ # Sequence[Any], ndarray[Any, Any], NDFrame]"; expected "Union
3881
+ # [SupportsDunderLE, SupportsDunderGE, SupportsDunderGT, SupportsDunderLT]"
3882
+ ops [0 ](data , left ) # type: ignore[arg-type]
3879
3883
if left is not None
3880
3884
else np .full (data .shape , True , dtype = bool )
3881
3885
)
3882
3886
if isinstance (g_left , (DataFrame , Series )):
3883
3887
g_left = g_left .where (pd .notna (g_left ), False )
3884
3888
l_right = (
3885
- ops [1 ](data , right )
3889
+ # error: Argument 2 to "le" has incompatible type "Union[str, float,
3890
+ # Period, Timedelta, Interval[Any], datetime64, timedelta64, datetime,
3891
+ # Sequence[Any], ndarray[Any, Any], NDFrame]"; expected "Union
3892
+ # [SupportsDunderLE, SupportsDunderGE, SupportsDunderGT, SupportsDunderLT]"
3893
+ ops [1 ](data , right ) # type: ignore[arg-type]
3886
3894
if right is not None
3887
3895
else np .full (data .shape , True , dtype = bool )
3888
3896
)
0 commit comments