mars-project / mars-project/mars

[BUG] could not convert string to float

Open
#3,225 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.7k
Forks
325
PR merge metrics
No merged PRs in 30d

Description

py3.7
pyodps[mars]==0.11

df = md.DataFrame(mt.random.rand(100000000, 4), columns=list('abcd'))
print(df.sum().execute())

{ValueError}could not convert string to float: '\r\n\r\n\r\n\n\n\n\n \n \n \n 淘宝网 - 淘!我喜欢\n \n \n \n \n \n \n

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the supplied Python 3.7 case with pyodps[mars], focusing on DataFrame.sum().execute() and the reported float conversion error. Trace the execution path that handles the input containing HTML text; done means the example completes without raising this ValueError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.