Python 3 - Concatenate 2 CSV files into 1 file
1.CSV
1
2
3
4
2.CSV
A
B
C
D
I want to concatenate/append the 2 files to one:
Output.CSV
1,A
2,B
3,C
4,D
I can't find the solution anywhere, all I got is:
Output.CSV
1
2
3
4
A
B
C
D
Does anyone know the solution? I am using import CSV
1.CSV
1
2
3
4
2.CSV
A
B
C
D
I want to concatenate/append the 2 files to one:
Output.CSV
1,A
2,B
3,C
4,D
I can't find the solution anywhere, all I got is:
Output.CSV
1
2
3
4
A
B
C
D
Does anyone know the solution? I am using import CSV