merging two csv files

K. Elo maillists at pp.inet.fi
Thu Mar 3 05:35:29 EST 2016


Hi!

Is this a homework or something you need a quick solution for?

For the latter: 'man paste' (on Linux) :)

Anyway, some sample data and code would be good.

BR, Kimmo

03.03.2016, 11:50, m.t.egle at student.rug.nl wrote:
> Hey!
>
> I want to merge column-wise two csv files, say: file1.csv and file2.csv, both containing two columns, into a new csv file.
>
> I could not find a good code for doing this. It never really worked.
>
> If you could show me the code with this example, I would highly appreciate it.
>
> Best wishes,
> Tiber
>



More information about the Python-list mailing list