We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 181ec50 commit 1a55b58Copy full SHA for 1a55b58
python/pyspark/rdd.py
@@ -163,7 +163,7 @@ def getCheckpointFile(self):
163
164
def map(self, f, preservesPartitioning=False):
165
"""
166
- Return a new RDD containing the distinct elements in this RDD.
+ Return a new RDD by applying a function to each element of this RDD.
167
168
def func(split, iterator): return imap(f, iterator)
169
return PipelinedRDD(self, func, preservesPartitioning)
0 commit comments