Learn by fixing tests
© 2025-2026 Alex Cole. All Rights Reserved.
Spark Koans is an independent community tool.
Calculate aggregates across the entire DataFrame. Replace ___ with the correct code.
___
data = [(100,), (200,), (300,), (400,), (500,)] df = spark.createDataFrame(data, ["value"])
Output will appear here...