Initializing playground…
← Back to examples

🚚 Fulfillment SLA Control Tower

Scenario: An e-commerce operations team has order, shipment, carrier, and warehouse-capacity data. They need a daily control tower for late orders, carrier misses, and aging backlog.

Skills you'll use: chained merge, SLA variance metrics, boolean filters, nlargestDataFrame, groupby().agg(), backlog bucketing, and pivot-table heatmaps.

1 · Join order, shipment, and carrier facts

Calculate days late, carrier variance, and an exception score for customer-impact triage.

TypeScript
Click ▶ Run to execute
Ctrl+Enter to run · Tab to indent

2 · Score carrier and warehouse SLA misses

Summarize late volume by carrier and build a warehouse × carrier heatmap.

TypeScript
Click ▶ Run to execute
Ctrl+Enter to run · Tab to indent

3 · Age the open backlog against staffing capacity

Bucket open work by age, merge staffing capacity, and identify overloaded warehouses.

TypeScript
Click ▶ Run to execute
Ctrl+Enter to run · Tab to indent