Created
January 30, 2019 22:26
-
-
Save timothyrenner/7370db4de8bd0c429118e49f3c48ba5b to your computer and use it in GitHub Desktop.
Pyspark Pandas UDF Call
This file contains hidden or 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
data_frame.withColumn( | |
"prediction", | |
predict_pandas_udf(col("feature1"), col("feature2"), ...) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment