Importing preprocessing from sklearn says sklearn has no attributr preprocessing

前端 未结 0 857
囚心锁ツ
囚心锁ツ 2020-12-13 17:22

The below piece of code works fine.Here,data is a datafram and location,rest_type and cuisines are columns in it.

from sklearn.preprocessing import LabelEncod         


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