Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# add value 4 to each number
rdd_1 = rdd_0.map(lambda x : x+4)
# RDD object
print(rdd_1)
# get the RDD Lineage
print(rdd_1.toDebugString())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment