问题
I am performing Sequential Rule Mining using Apriori Algorithm and FPA, I have the dataset in excel as shown below, I want to know, how should I load my data into pandas dataframe what I am using is the following read_excel command, but the data contains ---> between items and lies in single column as shown below.
How should I load and perform Pattern Mining.
回答1:
message
is string type, and elif "what is" in message:
seems to be correct in syntax.
Have you checked whether the indentation is correct? Sometimes the bug can be a very simple thing..
来源:https://stackoverflow.com/questions/48279902/sequential-rule-mining-using-apriori-algorithm-and-pandas