
Hi everyone;
I have a dataset with 48 variables and about 50,000 records. When I want to encode to apply the Apriori algorithm, this is the answer that I attached. It doesn't get the names of the columns and besides it doesn't do it right at all. more clearly, if we have 5 unique data in each feature on average, it should output 5*48 columns, but it doesn't.
Thank you for your guidance.