mlxtend
mlxtend copied to clipboard
DataFrame sorting for apriori, fpgrowth, and fpmax functions
It might be useful to sort the dataframes from the apriori, fpgrowth, and fpmax functions to avoid confusion and enable comparisons. This can be done via
.sort_values(by=['support','itemsets'], ascending=False)
The question is whether this should be part of the documentation or the function itself.
See discussion #868 for details