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

Chuck Connell commented on SPARK-37181:
---------------------------------------

That would be a good solution, just convert latin-1 silently to ISO-8859-1. 

> 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