You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, I had to replace .ix with .loc
When i ran process.py i ended up with the following error:
File "C:\Users\91901\Desktop\Code\summary\datasets\WikiHow-Dataset\process.py", line 53, in
for line in t:
File "C:\Users\91901\AppData\Local\Programs\Python\Python311\Lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 223: character maps to
I fixed this by passing utf-8 as encoding while opeing temporary file.
The text was updated successfully, but these errors were encountered:
Firstly, I had to replace .ix with .loc
When i ran process.py i ended up with the following error:
File "C:\Users\91901\Desktop\Code\summary\datasets\WikiHow-Dataset\process.py", line 53, in
for line in t:
File "C:\Users\91901\AppData\Local\Programs\Python\Python311\Lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 223: character maps to
I fixed this by passing utf-8 as encoding while opeing temporary file.
The text was updated successfully, but these errors were encountered: