Skip to content

Instantly share code, notes, and snippets.

View ODYTRON's full-sized avatar
🖤

Odysseas Tigas ODYTRON

🖤
View GitHub Profile
# 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])