aboutsummaryrefslogtreecommitdiff
path: root/python/pyspark/rdd.py
diff options
context:
space:
mode:
authorlewuathe <lewuathe@me.com>2014-12-17 17:31:24 -0800
committerXiangrui Meng <meng@databricks.com>2014-12-17 17:31:24 -0800
commit3cd516191baadf8496ccdae499771020e89acd7e (patch)
tree879897b87f1874368f317b6586ff5651ec8e89a0 /python/pyspark/rdd.py
parentca1260891adb87f4985d3cfc515b4756644630d0 (diff)
downloadspark-3cd516191baadf8496ccdae499771020e89acd7e.tar.gz
spark-3cd516191baadf8496ccdae499771020e89acd7e.tar.bz2
spark-3cd516191baadf8496ccdae499771020e89acd7e.zip
[SPARK-4822] Use sphinx tags for Python doc annotations
Modify python annotations for sphinx. There is no change to build process from. https://github.com/apache/spark/blob/master/docs/README.md Author: lewuathe <lewuathe@me.com> Closes #3685 from Lewuathe/sphinx-tag-for-pydoc and squashes the following commits: 88a0fd9 [lewuathe] [SPARK-4822] Fix DevelopApi and WARN tags 3d7a398 [lewuathe] [SPARK-4822] Use sphinx tags for Python doc annotations
Diffstat (limited to 'python/pyspark/rdd.py')
-rw-r--r--python/pyspark/rdd.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/pyspark/rdd.py b/python/pyspark/rdd.py
index bd2ff00c0f..c1120cf781 100644
--- a/python/pyspark/rdd.py
+++ b/python/pyspark/rdd.py
@@ -1964,7 +1964,7 @@ class RDD(object):
def countApprox(self, timeout, confidence=0.95):
"""
- :: Experimental ::
+ .. note:: Experimental
Approximate version of count() that returns a potentially incomplete
result within a timeout, even if not all tasks have finished.
@@ -1977,7 +1977,7 @@ class RDD(object):
def sumApprox(self, timeout, confidence=0.95):
"""
- :: Experimental ::
+ .. note:: Experimental
Approximate operation to return the sum within a timeout
or meet the confidence.
@@ -1993,7 +1993,7 @@ class RDD(object):
def meanApprox(self, timeout, confidence=0.95):
"""
- :: Experimental ::
+ .. note:: Experimental
Approximate operation to return the mean within a timeout
or meet the confidence.
@@ -2009,7 +2009,7 @@ class RDD(object):
def countApproxDistinct(self, relativeSD=0.05):
"""
- :: Experimental ::
+ .. note:: Experimental
Return approximate number of distinct elements in the RDD.
The algorithm used is based on streamlib's implementation of