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

Bug: in the morning when csv is missing data the script will fail #2

Open
bhlevca opened this issue Apr 4, 2020 · 1 comment
Open

Comments

@bhlevca
Copy link

bhlevca commented Apr 4, 2020

At Line 104 newdeaths = df['newdeaths'] and perhaps other places

Test for df.isna() and if true populate with zeros

@bhlevca
Copy link
Author

bhlevca commented Apr 4, 2020

Also there are mulitple issues with the code.
For Example: == Noneshould be replaced with is None also != with not
Move initializations like self.variable={} in _init to be compliant with PEP8

@bhlevca bhlevca changed the title Bug. iin the morning when csv is missing data the script will fail Bug: in the morning when csv is missing data the script will fail Apr 7, 2020
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