為何會出現error : '<' not supported between instances of 'float' and 'str'此錯誤
2019/04/24 07:31 下午
機器學習共學討論版
達明翰
觀看數:0
回答數:5
收藏數:0
ml100-2
column
資料型態
ml100-2-d04
想請問將1改為2為什麼會出現錯誤?
1. if len(list(app_train[col].unique()))
2. (app_train[col].nunique())
>error : '<' not supported between instances of 'float' and 'str'