TypeError: argument 2 to map() must support iteration,
Owenscu opened this issue · 2 comments
Owenscu commented
---> xgbtrain = xgb.DMatrix(sub_train[feature], sub_train['label'])
跑gen_sample时出现这个错误,TypeError: argument 2 to map() must support iteration,请问怎么解决
Deleted user commented
错误的详细描述是什么?
Owenscu commented
好像是python版本的问题,谢谢了