Skip to content

Instantly share code, notes, and snippets.

@lakshay-arora
Last active October 14, 2019 07:37
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 lakshay-arora/e44da9c6a9cbdeb953d95e94df6fe0be to your computer and use it in GitHub Desktop.
Save lakshay-arora/e44da9c6a9cbdeb953d95e94df6fe0be to your computer and use it in GitHub Desktop.
# add value 20 each number
rdd_2 = rdd_1.map(lambda x : x+20)
# RDD Object
print(rdd_2)
# get the RDD Lineage
print(rdd_2.toDebugString())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment