Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
shuffle
val arr_shuffle_df = df.withColumn("result", shuffle($"array_col2"))
arr_shuffle_df.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment