Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode encoding error #40

Open
madarwish opened this issue Sep 15, 2019 · 1 comment
Open

Unicode encoding error #40

madarwish opened this issue Sep 15, 2019 · 1 comment

Comments

@madarwish
Copy link

Just cloned the environment installed it, yet I faced this issue once run main.py
File "main.py", line 112, in
main()
File "main.py", line 43, in main
load(observations, nlp)
File "main.py", line 105, in load
observations.to_csv(path_or_buf=output_path, index_label='index')
File "/usr/lib64/python2.7/site-packages/pandas/core/generic.py", line 3020, in to_csv
formatter.save()
File "/usr/lib64/python2.7/site-packages/pandas/io/formats/csvs.py", line 172, in save
self._save()
File "/usr/lib64/python2.7/site-packages/pandas/io/formats/csvs.py", line 288, in _save
self._save_chunk(start_i, end_i)
File "/usr/lib64/python2.7/site-packages/pandas/io/formats/csvs.py", line 315, in _save_chunk
self.cols, self.writer)
File "pandas/_libs/writers.pyx", line 75, in pandas._libs.writers.write_csv_rows
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 1: ordinal not in range(128)

@madarwish
Copy link
Author

@bjherger Please have a look to this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant