标签: python pandas
training_data = pd.get_dummies(train_data_df,columns=["Pclass","Sex","Embarked"])
在运行上面的代码时,这三列是分类功能,我得到了错误:
'Series' objects are mutable, thus they cannot be hashed'
有什么建议吗?