开发者社区 问答 正文

MaxCompute使用Pyodps如何处理ValueError: could not con...

已解决

MaxCompute使用Pyodps如何处理ValueError: could not convert string to float:‘xxx'报错

展开
收起
提个问题 2024-06-15 14:03:40 179 分享 版权
1 条回答
写回答
取消 提交回答
  • 开发者社区问答官方账号
    官方回答
    采纳回答
    Pyodps代码报错ValueError: could not convert string to float:‘xxx',原因为无法将字符串转换为浮点数,如float()函数接受了非浮点数的字符串类型数据,需要修改为浮点数字符串或去除无法转换为浮点数的值。
    2024-06-15 14:03:41
    赞同 展开评论