Open lhz5166 opened 2 years ago
It looks not a problem, it's a misuse of "bisect_right()"
array
Out[13]: ('A', None, 'B', None, 'C', None, 'D')
value
Out[14]: ExcelCmp(cmp_type=1, value='A', empty='')
bisect_right(array, value, lo=0, hi=len(array))
Out[15]: 6
Problem description
When I match the string value, the result is incorrect.
What actually happened