Help with how to combine two csv files

Sammy Danso samdansobe at yahoo.com
Sun Apr 29 10:40:57 EDT 2012






Hello Experts,
I am new to python and I have been trying to merge two csv files, and upon several hours of unsuccessful attempts, I have decided to seek for help.
 
the format of the file is as follows. file A has  columns a, b, c and values 1,2,3 for several rows. File B also has columns d,e and values 4,5  for same number of rows as A. the files however do not have any unique column between the two. 
I want an output file C to have columns  a,b,c,d,e with values 1,2,3,4,5
 
I would be very grateful for your help with some code.
 
Thanks very much,
Sammy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120429/fcdee3cc/attachment.html>


More information about the Python-list mailing list