Learn by fixing tests
© 2025-2026 Alex Cole. All Rights Reserved.
Spark Koans is an independent community tool.
Extract parts of strings and measure length. Replace ___ with the correct code.
___
data = [("Alice",), ("Bob",), ("Charlotte",)] df = spark.createDataFrame(data, ["name"])
Output will appear here...