Skip to content

Instantly share code, notes, and snippets.

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