Our github action unit testing for ir_measures has observed that ranx fails on Pandas 3
assert (
> df[q_id_col].dtype == "O"
), "DataFrame Query IDs column dtype must be `object` (string)"
E AssertionError: DataFrame Query IDs column dtype must be `object` (string)
The fix should be straightforward by relaxing the dtype to be object or the new pandas dtype for string.
Our github action unit testing for ir_measures has observed that ranx fails on Pandas 3
The fix should be straightforward by relaxing the dtype to be object or the new pandas dtype for string.