Created
June 2, 2020 09:21
-
-
Save rohitrajiit/9a7ff864670011e881e32dca4fc1b546 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
stateslist = ['Maharashtra', 'Gujarat', 'Delhi', 'Karnataka', 'Kerala', 'West Bengal'] | |
for state in stateslist: | |
statedata = data[data['state']==state] | |
plt.plot(statedata['Dates'][-15:], statedata['dailytested'][-15:], label=state) | |
plt.title('Daily Tests ') | |
plt.legend() | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment