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

Example 7. Standardizing common job titles and computing their frequencies #65

Open
dagsonpatrick opened this issue Jul 19, 2013 · 0 comments

Comments

@dagsonpatrick
Copy link

Hi guys

Anyone know informs me about this error below?

I am using the prettytable 0.7.2

Example 6 did and it worked perfectly...

thanks

Traceback (most recent call last):
File "C:\Users\Dagson\Desktop\TCC-Pratica\linkedin__analyze_titles.py", line 55, in
print pt
File "C:\Python27\lib\site-packages\prettytable-0.7.2-py2.7.egg\prettytable.py", line 240, in str
return self.unicode().encode(self.encoding)
File "C:\Python27\lib\site-packages\prettytable-0.7.2-py2.7.egg\prettytable.py", line 243, in unicode
return self.get_string()
File "C:\Python27\lib\site-packages\prettytable-0.7.2-py2.7.egg\prettytable.py", line 987, in get_string
formatted_rows = self._format_rows(rows, options)
File "C:\Python27\lib\site-packages\prettytable-0.7.2-py2.7.egg\prettytable.py", line 942, in _format_rows
return [self._format_row(row, options) for row in rows]
File "C:\Python27\lib\site-packages\prettytable-0.7.2-py2.7.egg\prettytable.py", line 939, in _format_row
return [self._format_value(field, value) for (field, value) in zip(self._field_names, row)]
File "C:\Python27\lib\site-packages\prettytable-0.7.2-py2.7.egg\prettytable.py", line 890, in _format_value
return self._unicode(value)
File "C:\Python27\lib\site-packages\prettytable-0.7.2-py2.7.egg\prettytable.py", line 181, in _unicode
value = unicode(value, self.encoding, "strict")
File "C:\Python27\lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe1 in position 6: invalid continuation byte

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