-
Notifications
You must be signed in to change notification settings - Fork 653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEAT-#7207: Add the ability to assing a df to a columns selection without d2p #7210
Conversation
…selection without d2p Signed-off-by: Igoshev, Iaroslav <iaroslav.igoshev@intel.com>
Signed-off-by: Igoshev, Iaroslav <iaroslav.igoshev@intel.com>
Signed-off-by: Igoshev, Iaroslav <iaroslav.igoshev@intel.com>
66929bd
to
f3eac3f
Compare
modin/pandas/dataframe.py
Outdated
@@ -2709,6 +2711,7 @@ 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new_qc.index = self.index |
I had some failures in HDK tests without this change. Let's try to revert to see if latest changes helped.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HDK failed without this change so reverting it back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should try to fix the code only for the HDK, because here we will slow down all implementations due to the fact that the index is propagated to all partitions, and this is not a cheap operation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't been able to reproduce the failures locally, the tests passed to me. @AndreyPavlenko, do you have any thoughts why this happens? I remember you debugged some similar case when there was a failure in CI but locally the tests passed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
fccb4cf
to
2c8fdb1
Compare
Signed-off-by: Igoshev, Iaroslav <iaroslav.igoshev@intel.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
What do these changes do?
flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
git commit -s
docs/development/architecture.rst
is up-to-date