bjherger / ResumeParser

A framework to parse resumes, extract contact & other information, and check for required terms
367 stars 216 forks source link

Unicode encoding error #40

Open madarwish opened 5 years ago

madarwish commented 5 years ago

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 commented 5 years ago

@bjherger Please have a look to this issue