how to fix this error “Encoders require their input to be uniformly strings or numbers. Got ['float', 'str']”

前端 未结 0 1973
悲哀的现实
悲哀的现实 2021-02-01 13:49

label_encoder = LabelEncoder()

rainfall[\'station_name\'] = label_encoder.fit_transform(rainfall[\'station_name\'])

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