Created
June 2, 2020 08:52
-
-
Save rohitrajiit/1372b83f8485a611331a06c2ac61c0fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
states = [] | |
totaltested= [] | |
positive = [] | |
dates= [] | |
for state in state_json_data['states_tested_data']: | |
states.append(state['state']) | |
totaltested.append(state['totaltested']) | |
positive.append(state['positive']) | |
dates.append(state['updatedon']) | |
data = pandas.DataFrame({'Dates':dates, 'positive':positive, 'state': states, 'totaltested':totaltested}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment