im trying to append a new column to my csv file that looks like that:
column1 column2 column3 column4
1 1 y
1 2 3
w 2 3
if there is a letter at the line I want to append "letter" if there is not appent "no letter" if there is nothing at one of the columns append "one empty"
result:
column1 column2 column3 column4
1 1 y letter
1 2 3 no letter
w 2 one empty
im trying to do it only with csv module, no panda. thanks!