Skip to content

Commit

Permalink
FIX-modin-project#7329: Do not sort columns on df.update
Browse files Browse the repository at this point in the history
Signed-off-by: Igoshev, Iaroslav <[email protected]>
  • Loading branch information
YarShev committed Jun 26, 2024
1 parent c8bbca8 commit 8922030
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modin/core/dataframe/pandas/dataframe/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -3886,7 +3886,7 @@ def n_ary_op(
1,
new_right_frames,
join_type,
sort=True,
sort=False,
)
else:
joined_columns = self.copy_columns_cache(copy_lengths=True)
Expand Down
1 change: 1 addition & 0 deletions modin/tests/pandas/dataframe/test_map_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1592,6 +1592,7 @@ def test_transpose(data):
"data, other_data",
[
({"A": [1, 2, 3], "B": [400, 500, 600]}, {"B": [4, 5, 6], "C": [7, 8, 9]}),
({"C": [1, 2, 3], "B": [400, 500, 600]}, {"B": [4, 5, 6], "A": [7, 8, 9]}),
(
{"A": ["a", "b", "c"], "B": ["x", "y", "z"]},
{"B": ["d", "e", "f", "g", "h", "i"]},
Expand Down

0 comments on commit 8922030

Please sign in to comment.