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


Groups > comp.lang.python > #34306

Re: Help "joining" two files delimited with pipe character ("|")

Newsgroups comp.lang.python
Date 2012-12-05 10:17 -0800
References <mailman.512.1354730874.29569.python-list@python.org>
Subject Re: Help "joining" two files delimited with pipe character ("|")
From Miki Tebeka <miki.tebeka@gmail.com>
Message-ID <mailman.513.1354731456.29569.python-list@python.org> (permalink)

Show all headers | View raw


On Wednesday, December 5, 2012 9:57:31 AM UTC-8, Daniel Doo wrote:
> I am new to Python.  Is there a method to “join” two pipe delimited files using a unique key that appears in both files? 
Have a look at Panda's concat (http://pandas.pydata.org/pandas-docs/dev/merging.html). It also have utilities to read delimited files into DataFrame.

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


Thread

Help "joining" two files delimited with pipe character ("|") Daniel Doo <dd@topekacapitalmarkets.com> - 2012-12-05 11:57 -0600
  Re: Help "joining" two files delimited with pipe character ("|") Miki Tebeka <miki.tebeka@gmail.com> - 2012-12-05 10:17 -0800
  Re: Help "joining" two files delimited with pipe character ("|") Miki Tebeka <miki.tebeka@gmail.com> - 2012-12-05 10:17 -0800

csiph-web