Skip to content

Instantly share code, notes, and snippets.

@lakshay-arora

lakshay-arora/lazy_3.py

Last active Oct 14, 2019
Embed
What would you like to do?
# 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
You can’t perform that action at this time.