DrawCode Practice Problem

Derive Net Amount · Fraud alerts 21

Fraud alerts DataFrame, variant 21. Return id, amount, and net_amount equal to 90% of amount rounded to 2 decimals, ordered by id. 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