Obtenga nombres de características de un codificador caliente
# 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']
Friendly Falcon