Learn by fixing tests
© 2025-2026 Alex Cole. All Rights Reserved.
Spark Koans is an independent community tool.
Replace or remove null values. Replace ___ with the correct code.
___
data = [("Alice", 34), ("Bob", None), (None, 29), ("Diana", None)] df = spark.createDataFrame(data, ["name", "age"])
Output will appear here...