當(dāng)前位置:
首頁 >
成功解决AttributeError: 'DataFrame' object has no attribute 'reshape'
發(fā)布時間:2025/3/21
22
豆豆
生活随笔
收集整理的這篇文章主要介紹了
成功解决AttributeError: 'DataFrame' object has no attribute 'reshape'
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
成功解決AttributeError: 'DataFrame' object has no attribute 'reshape'
?
?
目錄
解決問題
解決思路
解決方法
?
?
解決問題
AttributeError: 'DataFrame' object has no attribute 'reshape'
?
?
解決思路
屬性錯誤:“DataFrame”對象沒有屬性“reshape”
?
?
解決方法
“DataFrame”對象沒有,但是DataFrame.values有該方法!
DataFrame.values.reshape(-1, 1)
哈哈,大功告成!
?
總結(jié)
以上是生活随笔為你收集整理的成功解决AttributeError: 'DataFrame' object has no attribute 'reshape'的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: TF之LSTM:利用LSTM算法对Bos
- 下一篇: ML之回归预测:利用13种机器学习算法对