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

ValueError: invalid literal for int() with base 10: '' #11

Closed
tuqiangwang opened this issue Dec 17, 2018 · 0 comments
Closed

ValueError: invalid literal for int() with base 10: '' #11

tuqiangwang opened this issue Dec 17, 2018 · 0 comments

Comments

@tuqiangwang
Copy link

Traceback (most recent call last):
File "prepare_data.py", line 24, in
label_dict = pd.Series(labels, index = label_names) - 1
File "/home/tq/.local/lib/python3.5/site-packages/pandas/core/series.py", line 239, in init
data = list(data)
File "prepare_data.py", line 22, in
labels = map(lambda x: int(x), labels)
ValueError: invalid literal for int() with base 10: ''

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