File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1010 rows .append (row )
1111csv_file .close ()
1212
13- years = range (2016 , 2023 )
13+ years = range (2016 , 2024 )
1414
1515counts = {} # make empty dictionary for yearly counts
1616
Original file line number Diff line number Diff line change 44
55all_rows = []
66
7- csv_file = open (filename , encoding = 'iso-8859-1' )
7+ csv_file = open (filename )
88reader = csv .reader (csv_file )
99headers = next (reader )
1010for row in reader :
1414
1515print (len (all_rows ))
1616
17- years = range (2016 , 2023 )
17+ years = range (2016 , 2024 )
1818counts = {}
1919for row in all_rows :
2020 if row [1 ] == '' : # ohita tyhjä rek. pvm
Original file line number Diff line number Diff line change 44
55all_rows = []
66
7- csv_file = open (filename , encoding = 'iso-8859-1' )
7+ csv_file = open (filename )
88reader = csv .reader (csv_file )
99headers = next (reader )
1010for row in reader :
You can’t perform that action at this time.
0 commit comments