what should I do my encoded result gives output as bolean instead of binary?
After performing OneHotEncoding , my data frame gives values for its columns as True and False, not as 1 and 0, what I am supposed to have.My code is like>> where data frame is ds and categorical column name is “type”.