Github user map222 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/17865#discussion_r121857727
  
    --- Diff: python/pyspark/sql/functions.py ---
    @@ -92,14 +98,16 @@ def _():
     _functions_1_4 = {
         # unary math functions
         'acos': 'Computes the cosine inverse of the given value; the returned 
angle is in the range' +
    -            '0.0 through pi.',
    -    'asin': 'Computes the sine inverse of the given value; the returned 
angle is in the range' +
    -            '-pi/2 through pi/2.',
    -    'atan': 'Computes the tangent inverse of the given value.',
    +            '0.0 through pi.\n\n:param col: float column, units in 
radians.',
    +    'asin': """Computes the sine inverse of the given value; the returned 
angle is in the range
    +            -pi/2 through pi/2.
    +
    +            :param col: float column, units in radians.""",
    --- End diff --
    
    I was trying two different ways to see which worked best. I now use the 
`:param col:` version


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to