JavaShuo
欄目
標籤
TypeError: 'DataFrame' objects are mutable, thus they cannot be hashed
時間 2021-01-11
欄目
Spark
简体版
原文
原文鏈接
在使用pandas的get_dummies()函數的時候,出現錯誤: 下面是我的dataframe: 下面是我想把data裏面的rank進行one-hot編碼,利用pad.get_dummies函數: 意思就是dataframe是可變的,我改了一下代碼就好了,其實也不知道爲什麼,所以看見的同學如果知道請告訴我爲什麼。
>>阅读原文<<
相關文章
1.
IDEA - Project files cannot be watched (are they under network mount?)
2.
TypeError: can't pickle _thread.RLock objects
3.
Some projects cannot be imported because they a...
4.
PAT A1060 Are They Equal
5.
1060. Are They Equal
6.
1060 Are They Equal
7.
1060. Are They Equal (25)
8.
can't set headers after they are sent
9.
TypeError: 'list' object cannot be interpreted as an integer
10.
TypeError: 'numpy.float64' object cannot be interpreted as an index
更多相關文章...
•
Thymeleaf擴展2(Say Hello)
-
Thymeleaf 教程
•
PHP 標量類型與返回值類型聲明
-
PHP 7 新特性
•
爲了進字節跳動,我精選了29道Java經典算法題,帶詳細講解
•
PHP Ajax 跨域問題最佳解決方案
相關標籤/搜索
hashed
typeerror
mutable
dataframe
objects
core'&&cannot
cannot&nbs
dataset&dataframe
78.objects
objects對象
Spark
MyBatis教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
.Net core webapi2.1生成exe可執行文件
2.
查看dll信息工具-oleview
3.
c++初學者
4.
VM下載及安裝
5.
win10下如何安裝.NetFrame框架
6.
WIN10 安裝
7.
JAVA的環境配置
8.
idea全局配置maven
9.
vue項目啓動
10.
SVN使用-Can't remove directoryXXXX,目錄不是空的,項目報錯,有紅叉
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
IDEA - Project files cannot be watched (are they under network mount?)
2.
TypeError: can't pickle _thread.RLock objects
3.
Some projects cannot be imported because they a...
4.
PAT A1060 Are They Equal
5.
1060. Are They Equal
6.
1060 Are They Equal
7.
1060. Are They Equal (25)
8.
can't set headers after they are sent
9.
TypeError: 'list' object cannot be interpreted as an integer
10.
TypeError: 'numpy.float64' object cannot be interpreted as an index
>>更多相關文章<<