theDataQuad / covidWebapp

GNU General Public License v3.0
2 stars 1 forks source link

Overall inconsistency due to the presence of null values in the incoming CSV data from API #3

Open prabinrajkp opened 2 years ago

prabinrajkp commented 2 years ago

The vaccination pie chart is not displayed in some situations. The reason for this problem is the presence of null values in the dataset, which happens sometimes due to the late data entry of daily data from the API.

webappcoviz

prabinrajkp commented 2 years ago

made changes for data initialization file init.py to drop the null values

VaishU2235 commented 2 years ago

As dropping the null values fixes the issue, It is closed now.

VaishU2235 commented 2 years ago

Every evening, the data from the API is updated. However, NaNs are added to daily data CSV first, and only after a while, the original data is added. After #4 @prabinrajkp suggested that the issue will cause further issues in a coding review. So it was decided not no update the data if null values are present in the data. Assigning @prabinrajkp for the same.