Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #103951
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Peter Otten <__peter__@web.de> |
| Newsgroups | comp.lang.python |
| Subject | Re: merging two csv files |
| Date | Thu, 03 Mar 2016 11:18:41 +0100 |
| Organization | None |
| Lines | 16 |
| Message-ID | <mailman.141.1457000349.20602.python-list@python.org> (permalink) |
| References | <b0dab882-8383-4d07-a3de-18a03a3be441@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| X-Trace | news.uni-berlin.de W86LTN7Ga+a/ac34j5+uVwgPyDVTbqGchig9v7b2fasQ== |
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'resulting': 0.04; 'finally:': 0.05; 'subject:two': 0.07; 'csv': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:files': 0.09; 'worked.': 0.09; 'files.': 0.13; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'received:t-ipconnect.de': 0.16; 'written.': 0.16; 'wrote:': 0.16; 'merge': 0.18; 'input': 0.18; 'fix': 0.21; 'file.': 0.22; 'examples': 0.24; 'header:User- Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'coding': 0.27; 'this.': 0.28; 'code': 0.30; 'file': 0.34; 'could': 0.35; 'files,': 0.35; 'but': 0.36; 'should': 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'two': 0.37; 'received:org': 0.37; 'doing': 0.38; 'to:addr:python.org': 0.40; 'received:de': 0.40; 'provide': 0.61; 'show': 0.62; 'service.': 0.63 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| X-Gmane-NNTP-Posting-Host | p57bd8b46.dip0.t-ipconnect.de |
| User-Agent | KNode/4.13.3 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.21 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:103951 |
Show key headers only | 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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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