Before starting the market report, check the import pattern on a workshop ticket sheet. StringIO gives pd.read_csv a file-like view of the supplied text; the header names the columns, and the ticket counts become numbers.
In main.py, change only sep=";" to sep="," inside read_tickets. Run should show Pottery with 7 tickets and Printing with 4, rather than one combined column. Submit checks another sheet.
This warm-up stands alone. The next lesson starts a continuing project with sales and a stall directory.
read_tickets(text) return the two-column DataFrame from any supplied comma-separated ticket sheet.Match the separator to the comma in workshop,tickets.