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.
message
is string type, andelif "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..