DrawCode Practice Problem

Pivot Status Counts · Sensor telemetry 74

Sensor telemetry DataFrame, variant 74. Return category with paid and cancelled count columns, filling absent counts with 0, ordered by category. Implement `solve(df)` and return a PySpark DataFrame.


Interactive Visualizer Workspace

Explore step-by-step interactive animations, memory state tracking, and live multi-language execution in DrawCode.

Launch Interactive Visualizer