tirthajyoti / Covid-19-analysis

Analysis with Covid-19 data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

bhlevca opened this issue · comments

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

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

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