xorbitsai / xorbits

Scalable Python DS & ML, in an API compatible & lightning fast way.
https://xorbits.io
Apache License 2.0
1.06k stars 67 forks source link

FEAT: DataFrame Mask OP Support  #762

Closed LiuPengJugx closed 1 week ago

LiuPengJugx commented 6 months ago

What do these changes do?

We add the code support for the Mask Operation in DataFrame Object.

Related issue number

Fixes #xxxx

Check code requirements

codecov[bot] commented 6 months ago

Codecov Report

Attention: 69 lines in your changes are missing coverage. Please review.

Comparison is base (de8c809) 93.24% compared to head (f6f64e2) 81.48%.

Files Patch % Lines
python/xorbits/_mars/dataframe/base/mask.py 30.30% 69 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #762 +/- ## =========================================== - Coverage 93.24% 81.48% -11.76% =========================================== Files 1059 1060 +1 Lines 79811 79913 +102 Branches 16511 16529 +18 =========================================== - Hits 74421 65120 -9301 - Misses 3658 12520 +8862 - Partials 1732 2273 +541 ``` | [Flag](https://app.codecov.io/gh/xorbitsai/xorbits/pull/762/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xorbitsai) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/xorbitsai/xorbits/pull/762/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xorbitsai) | `81.35% <32.35%> (-11.82%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xorbitsai#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

luweizheng commented 1 week ago

We have already implemented df.where and df.mask in python/xorbits/_mars/dataframe/indexing/where.py.