my tools for viewing covid data
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
- import os
- import csv
- basedir = "COVID-19/csse_covid_19_data/csse_covid_19_daily_reports_us"
- headers = 
- for fname in os.listdir(basedir):
- fpath = os.path.join(basedir, fname)
- with open(fpath) as f:
- c = csv.reader(f)
- for row in c:
- for headerset in headers:
- for other in headers:
- if headerset != other: