Created
July 31, 2019 21:29
-
-
Save kittipatkampa/774a18b1f0717fcc56b231125959bf00 to your computer and use it in GitHub Desktop.
Converting pyspark dataframe into RDD and back to DataFrame can resolve StackOverflow Error.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
train_df = spark.createDataFrame(train_df.rdd, schema=train_df.schema) | |
model_pred = pipeline_pred.fit(train_df) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment