Skip to content

Commit 5f7dbdb

Browse files
tristanreidAndrew Or
authored andcommitted
[MINOR] Fix typo in 'hypot' docstring
Minor typo: docstring for pyspark.sql.functions: hypot has extra characters N/A Author: Tristan Reid <[email protected]> Closes apache#11616 from tristanreid/master.
1 parent 238447d commit 5f7dbdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/sql/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def _():
142142
_binary_mathfunctions = {
143143
'atan2': 'Returns the angle theta from the conversion of rectangular coordinates (x, y) to' +
144144
'polar coordinates (r, theta).',
145-
'hypot': 'Computes `sqrt(a^2^ + b^2^)` without intermediate overflow or underflow.',
145+
'hypot': 'Computes `sqrt(a^2 + b^2)` without intermediate overflow or underflow.',
146146
'pow': 'Returns the value of the first argument raised to the power of the second argument.',
147147
}
148148

0 commit comments

Comments
 (0)