Enable Pandas 3
Enable Pandas 3: a task in lifesci-drug-discovery-swe-envs-nocap (Harbor dataset). Main changes explained: - pandas 3 now uses Copy on Write (CoW) which can cause trouble in some code parts, mostly where we used df.values before by causing torch warnings about undefined behavior on read-only…
The task
Main changes explained: - pandas 3 now uses `Copy on Write` (CoW) which can cause trouble in some code parts, mostly where we used `df.values` before by causing torch warnings about undefined behavior on read-only arrays. I've generally followed different approaches depending on the context: - where we previously…