Sep 28, 2009, 11:10 PM
Post #1 of 2
I want to parse a big .csv file into .xls based on the keywords present on each csv line. There would be redundancy in the keywords which needs to be compiled and send to .xls file, in this way the .xls file will contain all the information with respect to each keywords in one line. I do not want to read .csv file again and again for each keyword as it takes too much of time.
.csv file format
ARL6IP2,298757,"Liver Failure, Acute",MESH:D017114
CCL22,6367,Fetal Growth Retardation,MESH:D005317
.xls file format required
() represents separate column
(ARL6IP2) (Hyperalgesia,Hyperalgesia,"Liver Failure, Acute",Liver Neoplasms) (MESH:D006930,MESH:D008107,MESH:D017114,MESH:D008113)
(CCL22) (Esophageal Neoplasms,Fatty Liver,Fetal Growth Retardation,Fever) (MESH:D004938,MESH:D005234,MESH:D005317,MESH:D005334)
Any help would be highly appreciated.
Thanks in advance