Skip to content

Commit

Permalink
FIX-modin-project#2374: address code review comments #2
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoly Myachev <[email protected]>
  • Loading branch information
anmyachev committed Dec 3, 2020
1 parent 8a9cf2e commit 805abe4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modin/engines/base/frame/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,8 @@ def _copartition(
The axis to copartition along (0 - rows, 1 - columns).
other : BasePandasFrame
The other dataframes(s) to copartition against.
joined_index : Index, default None
joined_index : Index
The index used for reindexing partitions.
force_repartition : bool, default False
Whether or not to force the repartitioning. By default,
this method will skip repartitioning if it is possible. This is because
Expand Down Expand Up @@ -1740,7 +1741,7 @@ def _copartition(

if make_map_reindexer is None:

def make_map_func(index, left=True):
def make_map_func(index, *args, **kwargs):
# left - specific argument for case of binary operation;
# it choose indexer for left or right index
if index.equals(joined_index):
Expand Down

0 comments on commit 805abe4

Please sign in to comment.