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

UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128) #32

Open
adm1n007 opened this issue Mar 23, 2020 · 0 comments

Comments

@adm1n007
Copy link

$ python main.py
Less than 12 hours. Loading previously saved Pickle...
Traceback (most recent call last):
File "main.py", line 372, in
w = MyUi()
File "main.py", line 94, in init
self.init_treeWidget(list1,series)
File "main.py", line 141, in init_treeWidget
var = series.loc[series["c_name"] == j]
File "/opt/anaconda2/lib/python2.7/site-packages/pandas/core/ops.py", line 1728, in wrapper
(is_extension_array_dtype(other) and not is_scalar(other))):
File "/opt/anaconda2/lib/python2.7/site-packages/pandas/core/dtypes/common.py", line 1749, in is_extension_array_dtype
registry.find(dtype) is not None)
File "/opt/anaconda2/lib/python2.7/site-packages/pandas/core/dtypes/dtypes.py", line 89, in find
return dtype_type.construct_from_string(dtype)
File "/opt/anaconda2/lib/python2.7/site-packages/pandas/core/dtypes/dtypes.py", line 699, in construct_from_string
raise TypeError(msg.format(string))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)

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