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

BUG: Fix pd.read_csv cannot read pathlib.Path #757

Closed traderbxy closed 7 months ago

traderbxy commented 7 months ago

What do these changes do?

Fix the BUG: pd.read_csv cannot read pathlib.Path

Related issue number

Fixes #734

Check code requirements

codecov[bot] commented 7 months ago

Codecov Report

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

Comparison is base (e4a996f) 93.55% compared to head (2be01d6) 93.59%.

Files Patch % Lines
...hon/xorbits/_mars/dataframe/datasource/read_csv.py 60.00% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #757 +/- ## ========================================== + Coverage 93.55% 93.59% +0.03% ========================================== Files 1059 1059 Lines 79781 79786 +5 Branches 16504 16506 +2 ========================================== + Hits 74640 74674 +34 + Misses 3461 3432 -29 Partials 1680 1680 ``` | [Flag](https://app.codecov.io/gh/xorbitsai/xorbits/pull/757/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/757/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xorbitsai) | `93.48% <60.00%> (+0.03%)` | :arrow_up: | 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.