Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #103955
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | "K. Elo" <maillists@pp.inet.fi> |
| Newsgroups | comp.lang.python |
| Subject | Re: merging two csv files |
| Date | Thu, 3 Mar 2016 12:35:29 +0200 |
| Lines | 22 |
| Message-ID | <mailman.143.1457001738.20602.python-list@python.org> (permalink) |
| References | <b0dab882-8383-4d07-a3de-18a03a3be441@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de B+y2cdvJ3WmSMNgi5vxCKQn05Ufs0QfEeeDCj0RQlZxQ== |
| Return-Path | <maillists@pp.inet.fi> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.035 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'subject:two': 0.07; 'csv': 0.09; 'subject:files': 0.09; 'worked.': 0.09; 'linux)': 0.16; 'received:fi': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'merge': 0.18; '(on': 0.22; 'file.': 0.22; 'for?': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'this.': 0.28; 'code': 0.30; 'good.': 0.32; 'wishes,': 0.33; 'could': 0.35; 'files,': 0.35; 'something': 0.35; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'two': 0.37; 'doing': 0.38; 'data': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'show': 0.62; 'charset:windows-1252': 0.62; 'received:62': 0.63; 'sample': 0.63; 'received:130': 0.73; 'br,': 0.84; 'homework': 0.84 |
| RazorGate-KAS | Rate: 25 |
| RazorGate-KAS | {HEADERS: 8-bit header Content-Type found with 7-bit header Content-Transfer-Encoding} |
| RazorGate-KAS | Envelope from: |
| RazorGate-KAS | Version: 5.5.3 |
| RazorGate-KAS | LuaCore: 80 2014-11-10_18-01-23 260f8afb9361da3c7edfd3a8e3a4ca908191ad29 |
| RazorGate-KAS | Method: none |
| RazorGate-KAS | Lua profiles 69136 [Nov 12 2014] |
| RazorGate-KAS | Status: not_detected |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
| In-Reply-To | <b0dab882-8383-4d07-a3de-18a03a3be441@googlegroups.com> |
| 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:103955 |
Show key headers only | 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 | Next — Previous 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