Skip to content

Instantly share code, notes, and snippets.

@BrendanThompson
Created September 8, 2021 01:48
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 BrendanThompson/cb3aa629e8cf21bbd7a5badb2b551398 to your computer and use it in GitHub Desktop.
Save BrendanThompson/cb3aa629e8cf21bbd7a5badb2b551398 to your computer and use it in GitHub Desktop.
val renamedColumnsDF = specificColumnsDf.withColumnRenamed("level", "subscription_type")
renamedColumnsDF.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment