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

    https://github.com/apache/spark/pull/21482#discussion_r197626112
  
    --- Diff: python/pyspark/sql/column.py ---
    @@ -514,6 +514,16 @@ def isin(self, *cols):
         desc_nulls_first = ignore_unicode_prefix(_unary_op("desc_nulls_first", 
_desc_nulls_first_doc))
         desc_nulls_last = ignore_unicode_prefix(_unary_op("desc_nulls_last", 
_desc_nulls_last_doc))
     
    +    _isInf_doc = """
    +    True if the current expression is inf.
    +
    +    >>> from pyspark.sql import Row
    +    >>> df = spark.createDataFrame([\
    +            Row(name=u'Tom', height=80.0),\
    +            Row(name=u'Alice', height=float('inf'))])
    --- End diff --
    
    nit:
    
    ```
    >>> df = spark.createDataFrame([
    ...     Row(name=u'Tom', height=80.0),
    ...     Row(name=u'Alice', height=float('inf'))
    ... ])
    ```


---

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

Reply via email to