rows, columns = 10, 100
matrix = sparse.lil_matrix((rows, columns))
csvreader = csv.reader(open('1938894-simplified.csv'))
for line in csvreader:
    row, column = map(int, line)
matrix.data[row].append(column)
print(matrix.data)
csv to sparse matrix in python