Skip to content

[BUG] Pandas 3 support #79

@cmacdonald

Description

@cmacdonald

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions