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

    https://github.com/apache/spark/pull/16428#discussion_r94273677
  
    --- Diff: python/pyspark/sql/readwriter.py ---
    @@ -677,6 +677,8 @@ def csv(self, path, mode=None, compression=None, 
sep=None, quote=None, escape=No
                                 snappy and deflate).
             :param sep: sets the single character as a separator for each 
field and value. If None is
                         set, it uses the default value, ``,``.
    +        :param encoding: sets writer CSV files by the given encoding type. 
If None is set,
    +                         it uses the default value, ``UTF-8``.
    --- End diff --
    
    Here too, let's resemble the one in `DataFrameReader` above in this file.


---
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