-
Notifications
You must be signed in to change notification settings - Fork 37
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
Error in preprocess.py #5
Comments
@renatodeleone Sorry to a late reply. It seems |
Thanks
Il giorno ven 24 set 2021 alle ore 09:40 Dongdong Zhang <
***@***.***> ha scritto:
… @renatodeleone <https://github.com/renatodeleone> Sorry to a late reply.
It seems pandas is treating the dx column as int. To solve this problem,
you can change it to dxs = [dx_dict.get(code, '') for code in
str(row['dx']).split(',')] instead or simply update your pandas to newer
versions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABR3KBIWUZBKAHUHVEL53BDUDQTQPANCNFSM47QHHQ7A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
Renato
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dxs = [dx_dict.get(code, '') for code in row['dx'].split(',')]
AttributeError: 'int' object has no attribute 'split'
Any help will be appreciate. Thanks
The text was updated successfully, but these errors were encountered: