Browse files

SPARK-1109 wrong API docs for pyspark map function

Author: Prashant Sharma <>

Closes #73 from ScrapCodes/SPARK-1109/wrong-API-docs and squashes the following commits:

1a55b58 [Prashant Sharma] SPARK-1109 wrong API docs for pyspark map function
  • Loading branch information...
ScrapCodes authored and mateiz committed Mar 4, 2014
1 parent 1865dd6 commit 02836657cfec50bc6cc357541e40f8d36c90b352
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/pyspark/
@@ -163,7 +163,7 @@ def getCheckpointFile(self):
def map(self, f, preservesPartitioning=False):
- 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.
def func(split, iterator): return imap(f, iterator)
return PipelinedRDD(self, func, preservesPartitioning)

0 comments on commit 0283665

Please sign in to comment.