Learn by fixing tests
© 2025-2026 Alex Cole. All Rights Reserved.
Spark Koans is an independent community tool.
Combine DataFrames vertically. Replace ___ with the correct code.
___
df1 = spark.createDataFrame([("Alice", 34), ("Bob", 45)], ["name", "age"]) df2 = spark.createDataFrame([("Charlie", 29), ("Diana", 52)], ["name", "age"])
Output will appear here...