Get_dummies combined with for loop

前端 未结 0 1286
鱼传尺愫
鱼传尺愫 2020-11-21 23:35

I want to create a one-hot encoder. When I try with just one country, it works, but when I do the loop, it returns an error. Here\'s the code that works:

def          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题