Jupyter nootebook

screen link: https://app.dataquest.io/m/350/guided-project%3A-profitable-app-profiles-for-the-app-store-and-google-play-markets/2/opening-and-exploring-the-data

I am having this problem on my jupyter notebook. How can I fix it? Please help!


UnicodeDecodeError Traceback (most recent call last)
in
4 opened_file = open(“googleplaystore.csv”)
5 read_file = reader(opened_file)
----> 6 android = list(read_file)
7 android_header = android[0]
8 andriod = android[1:]

C:\ProgramData\Anaconda3\lib\encodings\cp1252.py in decode(self, input, final)
21 class IncrementalDecoder(codecs.IncrementalDecoder):
22 def decode(self, input, final=False):
—> 23 return codecs.charmap_decode(input,self.errors,decoding_table)[0]
24
25 class StreamWriter(Codec,codecs.StreamWriter):

UnicodeDecodeError: ‘charmap’ codec can’t decode byte 0x90 in position 2755: character maps to

Hi @ilhomjon656798,

This error is mentioned in the instructions:

If you run into an error named UnicodeDecodeError , add encoding="utf8" to the open() function (for instance, use open('AppleStore.csv', encoding='utf8') ).

Please add encoding='utf8' in open("googleplaystore.csv") to fix this error.

Best,
Sahil