Payment events DataFrame, variant 2. Replace null score with 2, then return id and score ordered by id. Implement `solve(df)` and return a PySpark DataFrame.
DrawCode Practice Problem
Fill Missing Scores · Payment events 2
Interactive Visualizer Workspace
Explore step-by-step interactive animations, memory state tracking, and live multi-language execution in DrawCode.
Launch Interactive Visualizer