I’ve obtained the following error in section [14: ] of the jupyter notebook Encoding Categorical Variable
The code in the NOtebook is the folowing:
feature_names = encoder.get_feature_names_out(input_features=[“education”])
education_encoded = pd.DataFrame(education_encoded, columns=feature_names)
education_encoded
Thank you in advance