[ 
https://issues.apache.org/jira/browse/SPARK-37181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444235#comment-17444235
 ] 

Yikun Jiang commented on SPARK-37181:
-------------------------------------

Actully, lating-1 is also do same covert in Python internal implementations, so 
I think it's good to do the same covert.

 

[1] 
https://github.com/python/cpython/blob/9bf2cbc4c498812e14f20d86acb61c53928a5a57/Lib/encodings/latin_1.py#L43

> pyspark.pandas.read_csv() should support latin-1 encoding
> ---------------------------------------------------------
>
>                 Key: SPARK-37181
>                 URL: https://issues.apache.org/jira/browse/SPARK-37181
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 3.2.0
>            Reporter: Chuck Connell
>            Priority: Major
>
> {{In regular pandas, you can say read_csv(encoding='latin-1'). This encoding 
> is not recognized in pyspark.pandas. You have to use Windows-1252 instead, 
> which is almost the same but not identical. }}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to