xorbitsai / xorbits

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

BUG: fix from_tensor #625

Closed Hank0626 closed 1 year ago

Hank0626 commented 1 year ago

What do these changes do?

Related issue number

Fixes #591

Check code requirements

codecov[bot] commented 1 year ago

Codecov Report

Merging #625 (500117a) into main (1da9c4c) will increase coverage by 0.21%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #625      +/-   ##
==========================================
+ Coverage   93.40%   93.62%   +0.21%     
==========================================
  Files        1020     1020              
  Lines       79032    79036       +4     
  Branches    16393    16395       +2     
==========================================
+ Hits        73818    73995     +177     
+ Misses       3555     3379     -176     
- Partials     1659     1662       +3     
Flag Coverage Δ
unittests 93.51% <100.00%> (+0.21%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
.../xorbits/_mars/dataframe/datasource/from_tensor.py 90.36% <100.00%> (+0.55%) :arrow_up:

... and 16 files with indirect coverage changes

qinxuye commented 1 year ago

Could you add a test case that including the issue?

Hank0626 commented 1 year ago

Could you add a test case that including the issue?

done