'QueryCat - ValueError: Columns must be same length as key in QueryCat

I am trying to run this script in below but i got "ValueError: Columns must be same length as key" error.

query_cat = querycat.Categorize(df, 'query', min_support=10, alg='apriori')

My dataset 5879 lines and 11 columnmy data set sample

Thanx for help



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source