I am using the csv module to read in csv files to do data analysis.
data = []
c1 = []
c2 = []
c3 = []
data_file = csv.reader(open('file.csv'))
for row in data_file:
data.append(row)
for i in data:
c1.append(data[i][0])
c2.append(data[i][1])
c3.append(data[i][2])
How do I replace the empty cells with 0?