結果 : how to encode categorical variables in python