How to keep ID in dummyVars()

前端 未结 0 330
生来不讨喜
生来不讨喜 2021-01-17 07:31

I would like to do transform Gender and Country using One-Hot-Encoding. With the code below I can not create the new dataset including the ID

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