成功解决ValueError: could not convert string to float: ‘\\N‘

简介: 成功解决ValueError: could not convert string to float: ‘\\N‘

解决问题


ValueError: could not convert string to float: '\\N'






解决思路


值错误:无法将字符串转换为浮点数 '\\N'






解决方法


先要把空值进行填充或者转换处理后,再执行相关操作(比如类型转换、数据分布转换等)!



哈哈,大功告成!





 

=

相关文章
|
SQL 数据库
【YashanDB 知识库】导入数据时报错:YAS-00008 type convert error:literal does not match format string
【YashanDB 知识库】导入数据时报错:YAS-00008 type convert error:literal does not match format string
|
SQL 数据库
【YashanDB知识库】导入数据时报错:YAS-00008 type convert error:literal does not match format string
【YashanDB知识库】导入数据时报错:YAS-00008 type convert error:literal does not match format string
SpingBoot2.x文件上传:failed to convert java.lang.String to org.springframework.util.unit.DataSize
SpingBoot2.x文件上传:failed to convert java.lang.String to org.springframework.util.unit.DataSize
|
安全 Python
Python系列(16)—— string类型转float类型
Python系列(16)—— string类型转float类型
|
XML 数据格式
解决 Cannot convert value of type ‘java.lang.String‘ to required type ‘java.sql.Driver‘ for property ‘
解决 Cannot convert value of type ‘java.lang.String‘ to required type ‘java.sql.Driver‘ for property ‘
796 0
Go-基本数据类型转换详解(int系列、float系列、string等)
Go-基本数据类型转换详解(int系列、float系列、string等)
487 0
Go-基本数据类型转换详解(int系列、float系列、string等)
|
Java 数据库连接
Failed to convert value of type 'java.lang.String' to required type 'java.time.LocalDate';
Failed to convert value of type 'java.lang.String' to required type 'java.time.LocalDate';
1078 0
(JAVA)错误:Type mismatch: cannot convert from double to float ,这是什么意思?如何解决?
(JAVA)错误:Type mismatch: cannot convert from double to float ,这是什么意思?如何解决?
(JAVA)错误:Type mismatch: cannot convert from double to float ,这是什么意思?如何解决?
关于⚡ValueError: cannot convert float NaN to integer⚡的有效解决办法
关于⚡ValueError: cannot convert float NaN to integer⚡的有效解决办法
关于⚡ValueError: cannot convert float NaN to integer⚡的有效解决办法