diff options
author | Chris Snow <chsnow123@gmail.com> | 2015-11-12 15:50:47 -0800 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2015-11-12 15:50:47 -0800 |
commit | 68ef61bb656bd9c08239726913ca8ab271d52786 (patch) | |
tree | ad3ded575c6811378e29774ca477787553bdb691 /python/pyspark/rdd.py | |
parent | 12a0784ac0f314a606f1237e7144eb1355421307 (diff) | |
download | spark-68ef61bb656bd9c08239726913ca8ab271d52786.tar.gz spark-68ef61bb656bd9c08239726913ca8ab271d52786.tar.bz2 spark-68ef61bb656bd9c08239726913ca8ab271d52786.zip |
[SPARK-11658] simplify documentation for PySpark combineByKey
Author: Chris Snow <chsnow123@gmail.com>
Closes #9640 from snowch/patch-3.
Diffstat (limited to 'python/pyspark/rdd.py')
-rw-r--r-- | python/pyspark/rdd.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/python/pyspark/rdd.py b/python/pyspark/rdd.py index 56e892243c..4b4d59647b 100644 --- a/python/pyspark/rdd.py +++ b/python/pyspark/rdd.py @@ -1760,7 +1760,6 @@ class RDD(object): In addition, users can control the partitioning of the output RDD. >>> x = sc.parallelize([("a", 1), ("b", 1), ("a", 1)]) - >>> def f(x): return x >>> def add(a, b): return a + str(b) >>> sorted(x.combineByKey(str, add, add).collect()) [('a', '11'), ('b', '1')] |