@@ -3875,14 +3875,22 @@ def _highlight_between(
38753875 )
38763876
38773877 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]
38793883 if left is not None
38803884 else np .full (data .shape , True , dtype = bool )
38813885 )
38823886 if isinstance (g_left , (DataFrame , Series )):
38833887 g_left = g_left .where (pd .notna (g_left ), False )
38843888 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]
38863894 if right is not None
38873895 else np .full (data .shape , True , dtype = bool )
38883896 )
0 commit comments