Initializing from file failed错误

Posted qiuyuyu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Initializing from file failed错误相关的知识,希望对你有一定的参考价值。

用pandas读取文件时遇到Initializing from file failed这种错误:

一般是因为文件名中带有中文,如下:

f = pd.read_csv(文件.csv)

只需要这样修改即可:

f = open(文件.csv)
d = pd.read_csv(f)

 

以上是关于Initializing from file failed错误的主要内容,如果未能解决你的问题,请参考以下文章

read_csv报错Initializing from file failed

解决错误:pandas.read_csv() 报错 OSError: Initializing from file failed

pandas.read_csv() 报错 OSError: Initializing from file failed

(转)pd.read_csv之OSError: Initializing from file failed的解决方案

解决 docker 报错: Error starting daemon: error initializing graphdriver: backing file system is unsuppor

USDP使用笔记解决HBase的ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing报错