spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrewo...@apache.org
Subject spark git commit: [MINOR] Fix typo in 'hypot' docstring
Date Thu, 10 Mar 2016 02:05:18 GMT
Repository: spark
Updated Branches:
  refs/heads/master 238447db5 -> 5f7dbdba6


[MINOR] Fix typo in 'hypot' docstring

Minor typo:  docstring for pyspark.sql.functions: hypot has extra characters

N/A

Author: Tristan Reid <treid@netflix.com>

Closes #11616 from tristanreid/master.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/5f7dbdba
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/5f7dbdba
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/5f7dbdba

Branch: refs/heads/master
Commit: 5f7dbdba6fec7615d3813365228ea093585e91f0
Parents: 238447d
Author: Tristan Reid <treid@netflix.com>
Authored: Wed Mar 9 18:05:00 2016 -0800
Committer: Andrew Or <andrew@databricks.com>
Committed: Wed Mar 9 18:05:03 2016 -0800

----------------------------------------------------------------------
 python/pyspark/sql/functions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/5f7dbdba/python/pyspark/sql/functions.py
----------------------------------------------------------------------
diff --git a/python/pyspark/sql/functions.py b/python/pyspark/sql/functions.py
index 88924e2..dee3d53 100644
--- a/python/pyspark/sql/functions.py
+++ b/python/pyspark/sql/functions.py
@@ -142,7 +142,7 @@ _functions_1_6 = {
 _binary_mathfunctions = {
     'atan2': 'Returns the angle theta from the conversion of rectangular coordinates (x,
y) to' +
              'polar coordinates (r, theta).',
-    'hypot': 'Computes `sqrt(a^2^ + b^2^)` without intermediate overflow or underflow.',
+    'hypot': 'Computes `sqrt(a^2 + b^2)` without intermediate overflow or underflow.',
     'pow': 'Returns the value of the first argument raised to the power of the second argument.',
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message