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


Groups > comp.lang.python > #103951

Re: merging two csv files

From Peter Otten <__peter__@web.de>
Newsgroups comp.lang.python
Subject Re: merging two csv files
Date 2016-03-03 11:18 +0100
Organization None
Message-ID <mailman.141.1457000349.20602.python-list@python.org> (permalink)
References <b0dab882-8383-4d07-a3de-18a03a3be441@googlegroups.com>

Show all headers | View raw


m.t.egle@student.rug.nl wrote:

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

Please provide really small examples of the input files. Then show what the 
resulting file exactly should look like. 

Finally: what have you tried? Show us the code you have written. We will 
help you fix it, but this is not a free coding service.

Back to comp.lang.python | Previous | NextPrevious in thread | Next 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