aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPrashant Sharma <prashant.s@imaginea.com>2014-03-04 15:32:43 -0800
committerMatei Zaharia <matei@databricks.com>2014-03-04 15:32:43 -0800
commit02836657cfec50bc6cc357541e40f8d36c90b352 (patch)
tree7fd88f74da15e57759f6215787754a065c2294c8 /python
parent1865dd681bcb38f8f197b559d1bae3a3771a74e0 (diff)
downloadspark-02836657cfec50bc6cc357541e40f8d36c90b352.tar.gz
spark-02836657cfec50bc6cc357541e40f8d36c90b352.tar.bz2
spark-02836657cfec50bc6cc357541e40f8d36c90b352.zip
SPARK-1109 wrong API docs for pyspark map function
Author: Prashant Sharma <prashant.s@imaginea.com> 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
Diffstat (limited to 'python')
-rw-r--r--python/pyspark/rdd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pyspark/rdd.py b/python/pyspark/rdd.py
index 1330e61468..be23f87f5e 100644
--- a/python/pyspark/rdd.py
+++ b/python/pyspark/rdd.py
@@ -163,7 +163,7 @@ class RDD(object):
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)