Skip to content

Instantly share code, notes, and snippets.

@1ambda
Created December 25, 2021 04:04
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 1ambda/aedc719822f66def09aecb22687670f1 to your computer and use it in GitHub Desktop.
Save 1ambda/aedc719822f66def09aecb22687670f1 to your computer and use it in GitHub Desktop.
dfTransformed = dfCached\
.selectExpr("listing_id", "listing_name")\
.where(col("listing_id") >= 10000000)\
.cache()
dfTransformed.count()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment