1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

pandasのCSV読みだしでInitializing from file failedエラーが出た場合

Last updated at Posted at 2018-11-09

症状

kaggleのデータを読みだそうとしてpandasでread_csvするとInitializing from file failedが出てしまった.
このエラーはpandasの古いバージョンを使っている時に, 日本語(というかマルチバイト文字)を含むファイルを読みだそうとすると出ることが多いエラーらしいが, 英語圏のデータだし,マルチバイト文字でひっかかった可能性はなさそう.

解決法

権限の問題だった. chmod 777 hogehoge.csvとかしたら治った.あほらしい.

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?