pandas read_csv 编码列表列表

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25530142/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-13 22:23:55  来源:igfitidea点击:

list of pandas read_csv encoding list

pythonpandas

提问by lessthanl0l

I'm looking for a list of pandas read_csv encoding option strings.

我正在寻找Pandas read_csv 编码选项字符串的列表。

I found the following URL documenting the parameters of the read_csv function but it doesn't include a list of possible encoding options for read_csv.

我发现以下 URL 记录了 read_csv 函数的参数,但它不包含 read_csv 的可能编码选项列表。

http://pandas.pydata.org/pandas-docs/version/0.13.1/generated/pandas.io.parsers.read_csv.html

http://pandas.pydata.org/pandas-docs/version/0.13.1/generated/pandas.io.parsers.read_csv.html

Can anyone help me with this?

谁能帮我这个?

采纳答案by Shashank Agarwal

Here's a list of available python 3 encodings -

这是可用的python 3编码列表-

https://docs.python.org/3/library/codecs.html#standard-encodings

https://docs.python.org/3/library/codecs.html#standard-encodings

I don't think pandas includes or excludes any additional encodings.

我不认为Pandas包含或排除任何额外的编码。