-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
Handle cases of reset_index level being None or an empty list #865
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #865 +/- ##
==========================================
- Coverage 97.30% 97.30% -0.01%
==========================================
Files 43 43
Lines 4118 4116 -2
==========================================
- Hits 4007 4005 -2
Misses 111 111
Continue to review full report at Codecov.
|
Quite a few CIs failing. I'm comparing to the output from #862 which was just a doc fix: I see that black isn't happy. I'm not sure what version is running in CI. |
CI uses also, breaks in the unit tests are due to protobuf==4.21.0 which has been yanked but somehow still being install by CI. Will perhaps have to pin it to <4.21.0 as a quickfix (I can handle this in another PR and then you can rebase on top of that) |
Black is now happy. Thanks for pointing me to the pre-commit config. It was the custom line-length that was creating the difference. :) |
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 @plague006 !
…i-oss#865) * Handle cases of reset_index level being None or an empty list * Run black with custom line length
* add base support for pandas_engine.Date * fix modin validation for pandas_engine.Date * reduce modin tests verbosity * delete print statement * ignore date in pyspark tests * add test for pandas_engine.Date.coerce_value * fix black * add default 0 scale for Decimal * fix test_inferred_dtype * fix test_strategies * fix black * fix documentation * fix typo (#895) * fix for Index of type category fails on validation #840 (#856) * fix for - Index of type category fails on validation #840 * Update schema_components.py * clean up index schema component code Co-authored-by: Niels Bantilan <niels.bantilan@gmail.com> * Handle cases of reset_index level being None or an empty list (#865) * Handle cases of reset_index level being None or an empty list * Run black with custom line length * increase codecov * increase codecov Co-authored-by: Jon Wiggins <35540058+jonwiggins@users.noreply.github.com> Co-authored-by: Kumar Utsav <krum.utsav@gmail.com> Co-authored-by: Niels Bantilan <niels.bantilan@gmail.com> Co-authored-by: Matthew <plague006@users.noreply.github.com>
* Handle cases of reset_index level being None or an empty list * Run black with custom line length
* add base support for pandas_engine.Date * fix modin validation for pandas_engine.Date * reduce modin tests verbosity * delete print statement * ignore date in pyspark tests * add test for pandas_engine.Date.coerce_value * fix black * add default 0 scale for Decimal * fix test_inferred_dtype * fix test_strategies * fix black * fix documentation * fix typo (#895) * fix for Index of type category fails on validation #840 (#856) * fix for - Index of type category fails on validation #840 * Update schema_components.py * clean up index schema component code Co-authored-by: Niels Bantilan <niels.bantilan@gmail.com> * Handle cases of reset_index level being None or an empty list (#865) * Handle cases of reset_index level being None or an empty list * Run black with custom line length * increase codecov * increase codecov Co-authored-by: Jon Wiggins <35540058+jonwiggins@users.noreply.github.com> Co-authored-by: Kumar Utsav <krum.utsav@gmail.com> Co-authored-by: Niels Bantilan <niels.bantilan@gmail.com> Co-authored-by: Matthew <plague006@users.noreply.github.com>
Closes #863
As I was writing the test for None, I thought about the case of an empty list.
I wasn't sure how it should be handled, but thankfully I don't have to break my head over it. I simply asked: wwpd? (what would pandas do?)