-
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
FIX-#1497: Don't sort in concat() when sort=False #1889
FIX-#1497: Don't sort in concat() when sort=False #1889
Conversation
Signed-off-by: Itamar Turner-Trauring <itamar@itamarst.org>
Signed-off-by: Itamar Turner-Trauring <itamar@itamarst.org>
Codecov Report
@@ Coverage Diff @@
## master #1889 +/- ##
==========================================
+ Coverage 81.39% 81.47% +0.08%
==========================================
Files 79 79
Lines 9165 9178 +13
==========================================
+ Hits 7460 7478 +18
+ Misses 1705 1700 -5
Continue to review full report at Codecov.
|
Investigating the failing tests now. |
It appears that the decision about when to sort is highly inconsistent within Pandas 😢 |
The issue appears to be pandas-dev/pandas#35092 — Pandas has bug where What is the policy for matching Pandas bugs? |
Signed-off-by: Itamar Turner-Trauring <itamar@itamarst.org>
@itamarst We try to match pandas behavior when possible. Is Modin behaving as pandas is supposed to after your fixes? In that case, I would say that we can probably just throw a warning linking to the pandas bug until it is resolved and keep the correct behavior. |
For
So warning is probably the way to go, but will also have to figure out how to make the |
…gnored. Signed-off-by: Itamar Turner-Trauring <itamar@itamarst.org>
@itamarst That sounds good. In the test, we can check if the result is not sorted, but should be before we sort the pandas side so that we don't accidentally hide any bugs in the future. |
Signed-off-by: Itamar Turner-Trauring <itamar@itamarst.org>
OK, done hopefully. |
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.
Implementation looks good, but I think there were some accidental documentation formatting changes.
Signed-off-by: Itamar Turner-Trauring <itamar@itamarst.org>
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.
Thanks @itamarst, LGTM!
…-project#1889) Signed-off-by: Itamar Turner-Trauring <itamar@itamarst.org>
What do these changes do?
flake8 modin
black --check modin
git commit -s