Skip to content

Instantly share code, notes, and snippets.

@NeerajBhadani
Last active May 25, 2020 09:56
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/d241d3008fdad4c6cf2fe6c9d8f5e0af to your computer and use it in GitHub Desktop.
Save NeerajBhadani/d241d3008fdad4c6cf2fe6c9d8f5e0af to your computer and use it in GitHub Desktop.
array_remove
val arr_remove_df = df.withColumn("result", array_remove($"array_col2", 7))
arr_remove_df.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment