[
https://issues.apache.org/jira/browse/SPARK-37181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444235#comment-17444235
]
Yikun Jiang edited comment on SPARK-37181 at 11/16/21, 2:41 AM:
----------------------------------------------------------------
Agree, 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]
was (Author: yikunkero):
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: [email protected]
For additional commands, e-mail: [email protected]