aboutsummaryrefslogtreecommitdiff
path: root/python/pyspark
diff options
context:
space:
mode:
authorDavies Liu <davies@databricks.com>2015-02-25 15:13:34 -0800
committerMichael Armbrust <michael@databricks.com>2015-02-25 15:13:34 -0800
commitf3f4c87b3d944c10d1200dfe49091ebb2a149be6 (patch)
tree4309f8524cff37343ecc13c43cd5b4a69cccd620 /python/pyspark
parent838a48036c050cef03b8c3620e16b5495cd7beab (diff)
downloadspark-f3f4c87b3d944c10d1200dfe49091ebb2a149be6.tar.gz
spark-f3f4c87b3d944c10d1200dfe49091ebb2a149be6.tar.bz2
spark-f3f4c87b3d944c10d1200dfe49091ebb2a149be6.zip
[SPARK-5944] [PySpark] fix version in Python API docs
use RELEASE_VERSION when building the Python API docs Author: Davies Liu <davies@databricks.com> Closes #4731 from davies/api_version and squashes the following commits: c9744c9 [Davies Liu] Update create-release.sh 08cbc3f [Davies Liu] fix python docs
Diffstat (limited to 'python/pyspark')
-rw-r--r--python/pyspark/rdd.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/pyspark/rdd.py b/python/pyspark/rdd.py
index d3148de6f4..cb12fed98c 100644
--- a/python/pyspark/rdd.py
+++ b/python/pyspark/rdd.py
@@ -2111,6 +2111,7 @@ class RDD(object):
def countApprox(self, timeout, confidence=0.95):
"""
.. note:: Experimental
+
Approximate version of count() that returns a potentially incomplete
result within a timeout, even if not all tasks have finished.
@@ -2124,6 +2125,7 @@ class RDD(object):
def sumApprox(self, timeout, confidence=0.95):
"""
.. note:: Experimental
+
Approximate operation to return the sum within a timeout
or meet the confidence.
@@ -2140,6 +2142,7 @@ class RDD(object):
def meanApprox(self, timeout, confidence=0.95):
"""
.. note:: Experimental
+
Approximate operation to return the mean within a timeout
or meet the confidence.
@@ -2156,6 +2159,7 @@ class RDD(object):
def countApproxDistinct(self, relativeSD=0.05):
"""
.. note:: Experimental
+
Return approximate number of distinct elements in the RDD.
The algorithm used is based on streamlib's implementation of