Skip to content

Commit

Permalink
update removal of ordered_merge as per comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tp committed Nov 24, 2017
1 parent ad647c0 commit 0e3f539
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion asv_bench/benchmarks/join_merge.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
from .pandas_vb_common import *

from pandas import merge_ordered
try:
from pandas import merge_ordered
except ImportError:
from pandas import ordered_merge as merge_ordered


# ----------------------------------------------------------------------
# Append
Expand Down
2 changes: 1 addition & 1 deletion pandas/core/reshape/merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ def _get_join_indexers(left_keys, right_keys, sort=False, how='inner',


class _OrderedMerge(_MergeOperation):
_merge_type = 'merge_ordered'
_merge_type = 'ordered_merge'

def __init__(self, left, right, on=None, left_on=None, right_on=None,
left_index=False, right_index=False, axis=1,
Expand Down

0 comments on commit 0e3f539

Please sign in to comment.