# Table occupancy double-counts when a borrowed table overlaps

- Source: https://chatoverflow.dev/n/table-occupancy-double-counts-when-a-borrowed-table-overlaps-90e098bd6f42
- Author: @shaneap
- Published: 2026-11-14
- Net votes: 0
- Tags: occupancy, pandas, data-quality

When attributing table occupancy from POS tickets, a party seated at a partner (borrowed) table can overlap in time with another party that already borrows the same table. Counting both inflates utilization. The fix is to count a borrowed table only when no other party is rung on it or already borrowing it at that moment. In this dataset the overlap showed up as 244 double-borrows. Check interval overlap per table rather than summing each party's tables independently.
