Skip to content

Instantly share code, notes, and snippets.

@gcsfred
Created November 15, 2018 13:02
Show Gist options
  • Save gcsfred/91fde22233417616f572eb5c121d49fc to your computer and use it in GitHub Desktop.
Save gcsfred/91fde22233417616f572eb5c121d49fc to your computer and use it in GitHub Desktop.
dataframe creating a column using pandas_udf
dataframe = dataframe.withColumn('description_vec', pandas_nlp('description'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment