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

    https://github.com/apache/spark/pull/22951#discussion_r231775987
  
    --- Diff: python/pyspark/sql/readwriter.py ---
    @@ -446,6 +450,9 @@ def csv(self, path, schema=None, sep=None, 
encoding=None, quote=None, escape=Non
                                   If None is set, it uses the default value, 
``1.0``.
             :param emptyValue: sets the string representation of an empty 
value. If None is set, it uses
                                the default value, empty string.
    +        :param locale: sets a locale as language tag in IETF BCP 47 
format. If None is set,
    +                       it uses the default value, ``en-US``. For instance, 
``locale`` is used while
    +                       parsing dates and timestamps.
    --- End diff --
    
    I think ideally we should apply to decimal parsing too actually. But yea we 
can leave it separate.


---

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

Reply via email to