Skip to content

Commit

Permalink
FEAT-modin-project#2013: Revert change that causes test failures.
Browse files Browse the repository at this point in the history
Signed-off-by: Itamar Turner-Trauring <itamar@itamarst.org>
  • Loading branch information
itamarst committed Dec 8, 2020
1 parent 26c21e9 commit 6848924
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modin/pandas/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@ def merge_asof(
# 5. Clean up to match Pandas output:
if left_on is not None and right_index:
result.insert(
result.columns.get_indexer_for(left_on + suffixes[0])[0],
# In theory this could use get_indexer_for(), but that causes an error:
list(result.columns).index(left_on + suffixes[0]),
left_on,
result[left_on + suffixes[0]],
)
Expand Down

0 comments on commit 6848924

Please sign in to comment.