From 3cd516191baadf8496ccdae499771020e89acd7e Mon Sep 17 00:00:00 2001 From: lewuathe Date: Wed, 17 Dec 2014 17:31:24 -0800 Subject: [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 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 --- python/pyspark/rdd.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'python/pyspark/rdd.py') 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 -- cgit v1.2.3