Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #34303 > unrolled thread
| Started by | Daniel Doo <dd@topekacapitalmarkets.com> |
|---|---|
| First post | 2012-12-05 11:57 -0600 |
| Last post | 2012-12-05 10:17 -0800 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.python
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
| From | Daniel Doo <dd@topekacapitalmarkets.com> |
|---|---|
| Date | 2012-12-05 11:57 -0600 |
| Subject | Help "joining" two files delimited with pipe character ("|") |
| Message-ID | <mailman.512.1354730874.29569.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
Hello, I am new to Python. Is there a method to "join" two pipe delimited files using a unique key that appears in both files? I would like to implement something similar to the Unix join command. Thanks for your help! ________________________________ Topeka Capital Markets Disclaimers - http://topekacapitalmarkets.com/Disclaimers.aspx
[toc] | [next] | [standalone]
| From | Miki Tebeka <miki.tebeka@gmail.com> |
|---|---|
| Date | 2012-12-05 10:17 -0800 |
| Message-ID | <08e9d25a-ec58-47b0-bcd3-26b5e0d853a3@googlegroups.com> |
| In reply to | #34303 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Miki Tebeka <miki.tebeka@gmail.com> |
|---|---|
| Date | 2012-12-05 10:17 -0800 |
| Message-ID | <mailman.513.1354731456.29569.python-list@python.org> |
| In reply to | #34303 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web