Closed 1mrliu closed 5 years ago
for line in test_data.itertuples(): test_row.append(line[1] - 1) test_col.append(line[2] - 1) test_rating.append(1)
Why line[1] and line[2] add the -1?
@1mrliu to make sure the index starts from 0
Why line[1] and line[2] add the -1?