天天看點

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

解決問題

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

解決思路

值錯誤:無法将字元串轉換為浮點數 '\\N'

解決方法

先要把空值進行填充或者轉換處理後,再執行相關操作(比如類型轉換、資料分布轉換等)!

哈哈,大功告成!

=

繼續閱讀