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

    https://github.com/apache/spark/pull/17737#discussion_r114061394
  
    --- Diff: python/pyspark/sql/column.py ---
    @@ -269,17 +305,17 @@ def __iter__(self):
         [Row(age=2, name=u'Alice')]
         """
         _startswith_doc = """
    -    Return a Boolean :class:`Column` based on a string match.
    +    String starts with. Returns a boolean :class:`Column` based on a 
string match.
     
    -    :param other: string at end of line (do not use a regex `^`)
    +    :param other: string at start of line (do not use a regex `^`)
     
         >>> df.filter(df.name.startswith('Al')).collect()
         [Row(age=2, name=u'Alice')]
         >>> df.filter(df.name.startswith('^Al')).collect()
         []
         """
         _endswith_doc = """
    -    Return a Boolean :class:`Column` based on matching end of string.
    +    String ends with. Returns a boolean :class:`Column` based on a string 
match.
    --- End diff --
    
    This seems to be form the function above, but its correct in the code so no 
worries


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to