From 43d53d51c9ee2626d9de91faa3b192979b86821d Mon Sep 17 00:00:00 2001
From: Jeff Thompson <jeffreykeatingthompson@gmail.com>
Date: Thu, 12 Jun 2014 08:10:51 -0700
Subject: [PATCH] fixed typo in docstring for min()

Hi, I found this typo while learning spark and thought I'd do a pull request.

Author: Jeff Thompson <jeffreykeatingthompson@gmail.com>

Closes #1065 from jkthompson/docstring-typo-minmax and squashes the following commits:

29b6a26 [Jeff Thompson] fixed typo in docstring for min()
---
 python/pyspark/rdd.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyspark/rdd.py b/python/pyspark/rdd.py
index 9c69c79236..8a215fc511 100644
--- a/python/pyspark/rdd.py
+++ b/python/pyspark/rdd.py
@@ -695,7 +695,7 @@ class RDD(object):
 
     def min(self):
         """
-        Find the maximum item in this RDD.
+        Find the minimum item in this RDD.
 
         >>> sc.parallelize([1.0, 5.0, 43.0, 10.0]).min()
         1.0
-- 
GitLab