📅  最后修改于: 2022-03-11 14:46:02.150000             🧑  作者: Mango
# You can pass the list with original column names to get_feature_names:
encoder.get_feature_names(['Sex', 'AgeGroup'])
# output
# ['Sex_female', 'Sex_male', 'AgeGroup_0', 'AgeGroup_15',
# 'AgeGroup_30', 'AgeGroup_45', 'AgeGroup_60', 'AgeGroup_75']