mars
mars copied to clipboard
[BUG] could not convert string to float
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
The Python "ValueError: could not convert string to float" occurs when we pass a string that contains characters or an empty string to the float() class.
To solve the error, remove all unnecessary characters from the string before calling float().
Looks like error is not in above code