Sample data
Made-up data. If you have not loaded it yet, ask your assistant:
"Load https://gotsimplified.com/samples/baskets.csv into my data lake as samples.baskets, replacing it if it already exists."
Download: baskets.csv
Try this
"Which items are bought together in samples.baskets? Each order is order_id."
Your assistant may word its answers differently each time; the numbers come from your tables.
What you need
One row per item, with a column for the order and one for the item.
How to read the answer
Compared with usual above 1x means the pair appears more often than chance.
Good to know
Very common items can look linked to everything.
What you can adjust
- How common a pair must be.