pdfactorize
The pd.factorize() function is a method in pandas library that is used to encode categorical variables as numeric variables. It assigns a unique integer value to each distinct category in the column.
原文地址: http://www.cveoy.top/t/topic/cUZs 著作权归作者所有。请勿转载和采集!