I get:
TypeError: expected string or bytes-like object
When running:
from pycaret.datasets import get_data
data = get_data('france')
from pycaret.arules import *
exp_name = setup(data = data, transaction_id = 'InvoiceNo', item_id = 'Description')
model1 = create_model(metric = 'confidence')
model1
Does anyone know why this is happening?
According to their documentation, this should return a pandas dataframe.
Edit: This same code works in Colab btw