Update existing columns and rows within csv file using Python
- by wilbev
So I've been attempting to use the csv module in Python to add data to existing rows and columns, but only specific columns of each row. So for examples let's say my existing csv file has the following:
id, name, city, age
1, Ed,, 34
2, Pat,, 23
So basically the city of each person is missing, so I would like to update each row with that…