Github user misutoth commented on a diff in the pull request: https://github.com/apache/spark/pull/20618#discussion_r171991733 --- Diff: python/pyspark/sql/functions.py --- @@ -173,16 +172,26 @@ def _(): _functions_2_1 = { # unary math functions - 'degrees': 'Converts an angle measured in radians to an approximately equivalent angle ' + - 'measured in degrees.', - 'radians': 'Converts an angle measured in degrees to an approximately equivalent angle ' + - 'measured in radians.', + 'degrees': """Converts an angle measured in radians to an approximately equivalent angle + measured in degrees. + :param col: angle in radians + :return: angle in degrees, as if computed by `java.lang.Math.toDegrees()`""", + 'radians': """Converts an angle measured in degrees to an approximately equivalent angle measured in radians. --- End diff -- Yes. I wrapped the text.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org