LoginSignup
0
0

More than 5 years have passed since last update.

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 0: invalid start byte

Last updated at Posted at 2019-01-24
import csv

file = open('/Users/mizuguchitaishi/Documents/data (24).csv')
reader = csv.reader(file)
data = list(reader)

csvファイルの読み込みを上記のコードで実行すると
'utf-8' codec can't decode byte 0x83 in position 0: invalid start byte
というエラーが出た(Python3.7(qap37))

Python2.7だとエラーが出ない

原因わかる人いたら教えてくれるとうれしいです
お願いします

0
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
0
0