Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import numpy as np
- from pandas import read_csv as ReadCSV
- import matplotlib.pyplot as plt
- from matplotlib import style
- style.use('dark_background')
- DF = ReadCSV('Infected.csv', sep=',')
- Country = 'Spain'
- CountryDF = DF[DF['Country/Region']==Country].values[0][1:]
- plt.scatter(list(range(len(CountryDF))), CountryDF)
- plt.show()
Add Comment
Please, Sign In to add comment