TuChart icon indicating copy to clipboard operation
TuChart copied to clipboard

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

Open adm1n007 opened this issue 4 years ago • 0 comments

$ 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)

adm1n007 avatar Mar 23 '20 08:03 adm1n007