DrawCode Practice Problem

Explode Event Tags · Loan payments 41

Loan payments DataFrame, variant 41. Explode tags, count events per tag as tag_count, and order by count descending then tag. 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