Skip to content

Instantly share code, notes, and snippets.

@NeerajBhadani
Last active May 25, 2020 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NeerajBhadani/7ab1718d85cbb4373850e1e2c7ad4ffc to your computer and use it in GitHub Desktop.
Save NeerajBhadani/7ab1718d85cbb4373850e1e2c7ad4ffc to your computer and use it in GitHub Desktop.
array_exept
val arr_except_df = full_df.withColumn("result", array_except($"array_col1", $"array_col2"))
arr_except_df.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment