Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #103955

Re: merging two csv files

From "K. Elo" <maillists@pp.inet.fi>
Newsgroups comp.lang.python
Subject Re: merging two csv files
Date 2016-03-03 12:35 +0200
Message-ID <mailman.143.1457001738.20602.python-list@python.org> (permalink)
References <b0dab882-8383-4d07-a3de-18a03a3be441@googlegroups.com>

Show all headers | View raw


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@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
>

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

merging two csv files m.t.egle@student.rug.nl - 2016-03-03 01:50 -0800
  Re: merging two csv files Peter Otten <__peter__@web.de> - 2016-03-03 11:18 +0100
  Re: merging two csv files "K. Elo" <maillists@pp.inet.fi> - 2016-03-03 12:35 +0200

csiph-web