totoruo/TianChi-Shop-Location-Competition

TypeError: argument 2 to map() must support iteration,

Owenscu opened this issue · 2 comments

---> xgbtrain = xgb.DMatrix(sub_train[feature], sub_train['label'])
跑gen_sample时出现这个错误,TypeError: argument 2 to map() must support iteration,请问怎么解决

错误的详细描述是什么?

好像是python版本的问题,谢谢了