Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 782:
  2. invalid start byte
  3.  
  4. myOutlook_inBox = pd.read_csv (r'' + mydir + 'test.CSV', usecols=
  5. ['Subject','Body', 'From: (Name)', 'To: (Name)' ])
  6.  
  7. Traceback (most recent call last):
  8. File "pandas_libsparsers.pyx", line 1169, in
  9. pandas._libs.parsers.TextReader._convert_tokens
  10. File "pandas_libsparsers.pyx", line 1299, in
  11. pandas._libs.parsers.TextReader._convert_with_dtype
  12. File "pandas_libsparsers.pyx", line 1315, in
  13. pandas._libs.parsers.TextReader._string_convert
  14. File "pandas_libsparsers.pyx", line 1553, in
  15. pandas._libs.parsers._string_box_utf8
  16. UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 782:
  17. invalid start byte
  18. During handling of the above exception, another exception occurred:
  19. Traceback (most recent call last):
  20. File "<input>", line 1, in <module>
  21. File "C:Program FilesJetBrainsPyCharm
  22. 2019.1.2helperspydev_pydev_bundlepydev_umd.py", line 197, in runfile
  23. pydev_imports.execfile(filename, global_vars, local_vars) # execute the
  24. script
  25. File "C:Program FilesJetBrainsPyCharm
  26. 2019.1.2helperspydev_pydev_imps_pydev_execfile.py", line 18, in
  27. execfile
  28. exec(compile(contents+"n", file, 'exec'), glob, loc)
  29. File "C:/Users/DELL/PycharmProjects/GUIRef/PyGUI.py", line 12, in <module>
  30. myOutlook_inBox = pd.read_csv (r'' + mydir + 'test.CSV', usecols=
  31. ['Subject','Body', 'From: (Name)', 'To: (Name)' ])
  32. File "C:UsersDELLPycharmProjectsGUIRefvenvlibsite-
  33. packagespandasioparsers.py", line 702, in parser_f
  34. return _read(filepath_or_buffer, kwds)
  35. File "C:UsersDELLPycharmProjectsGUIRefvenvlibsite-
  36. packagespandasioparsers.py", line 435, in _read
  37. data = parser.read(nrows)
  38. File "C:UsersDELLPycharmProjectsGUIRefvenvlibsite-
  39. packagespandasioparsers.py", line 1139, in read
  40. ret = self._engine.read(nrows)
  41. File "C:UsersDELLPycharmProjectsGUIRefvenvlibsite-
  42. packagespandasioparsers.py", line 1995, in read
  43. data = self._reader.read(nrows)
  44. File "pandas_libsparsers.pyx", line 899, in
  45. pandas._libs.parsers.TextReader.read
  46. File "pandas_libsparsers.pyx", line 914, in
  47. pandas._libs.parsers.TextReader._read_low_memory
  48. File "pandas_libsparsers.pyx", line 991, in
  49. pandas._libs.parsers.TextReader._read_rows
  50. File "pandas_libsparsers.pyx", line 1123, in
  51. pandas._libs.parsers.TextReader._convert_column_data
  52. File "pandas_libsparsers.pyx", line 1176, in
  53. pandas._libs.parsers.TextReader._convert_tokens
  54. File "pandas_libsparsers.pyx", line 1299, in
  55. pandas._libs.parsers.TextReader._convert_with_dtype
  56. File "pandas_libsparsers.pyx", line 1315, in
  57. pandas._libs.parsers.TextReader._string_convert
  58. File "pandas_libsparsers.pyx", line 1553, in
  59. pandas._libs.parsers._string_box_utf8
  60. UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 782:
  61. invalid start byte
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement