BUG: merge asof with non-unique on, left on, or right on, raises AttributeError: 'DataFrame' object has no…
BUG: merge asof with non-unique on, left on, or right on, raises AttributeError: 'DataFrame' object has no…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). left = pd.DataFrame( 1, 2, 'a' , 5, 6, 'b' , 10, 11, 'c' , columns= 'a', 'a', 'left val' ) right =…
The task
left = pd.DataFrame([[1, 2, 'a'], [5, 6, 'b'], [10, 11, 'c']], columns=['a', 'a', 'left_val']) right = pd.DataFrame([[x] * 3 for x in [1, 2, 3, 6, 7]], columns=['a', 'a', 'right_val']) print(pd.merge_asof(left, right, on="a")) print(pd.merge_asof(left, right, left_on="a", right_on='right_val'))…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.