EXTREMEXPLOIT

Spain Coronavirus Plot

May 19th, 2020 (edited)
1,351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. import numpy as np
  2. from pandas import read_csv as ReadCSV
  3. import matplotlib.pyplot as plt
  4. from matplotlib import style
  5.  
  6. style.use('dark_background')
  7. DF = ReadCSV('Infected.csv', sep=',')
  8. Country = 'Spain'
  9.  
  10. CountryDF = DF[DF['Country/Region']==Country].values[0][1:]
  11.  
  12. plt.scatter(list(range(len(CountryDF))), CountryDF)
  13. plt.show()
Add Comment
Please, Sign In to add comment