Skip to content

Commit

Permalink
Fix HDK
Browse files Browse the repository at this point in the history
Signed-off-by: Igoshev, Iaroslav <[email protected]>
  • Loading branch information
YarShev committed Apr 26, 2024
1 parent 41b6170 commit 2c8fdb1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2958,7 +2958,11 @@ def from_pandas(cls, df):
len(new_index) == 0
and not isinstance(new_index, MultiIndex)
and new_index.name is None
) or (len(new_columns) != 0 and is_trivial_index(new_index)):
) or (
new_index.name is None
and len(new_columns) != 0
and is_trivial_index(new_index)
):
index_cols = None
else:
orig_index_names = new_index.names
Expand Down
1 change: 0 additions & 1 deletion modin/pandas/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2711,7 +2711,6 @@ def __setitem__(self, key, value) -> None:
to_concat.append(src_obj[to_take])

new_qc = concat(to_concat, axis=1)._query_compiler
new_qc.index = self.index
else:
new_qc = self._query_compiler.write_items(
slice(None),
Expand Down

0 comments on commit 2c8fdb1

Please sign in to comment.