Skip to content

Instantly share code, notes, and snippets.

Odysseas Tigas ODYTRON

View GitHub Profile
View US_births_total_by_day.py
# the dictionary
the_dict = dict()
# open the dataset
f = open("births.csv", 'r')
# read the dataset
text = f.read()
# split the dataset aka put it in list
data = text.split('\n')
# cut the heading year /year,month,date_of_month,day_of_week,births
data_no_head = (data[1:-1])
You can’t perform that action at this time.