Working with CSV files

เสร็จสมบูรณ์ โพสต์แล้ว May 4, 2013 ชำระเงินเมื่อจัดส่ง
เสร็จสมบูรณ์ ชำระเงินเมื่อจัดส่ง

1: open CSV file, located on hard drive. this file has 4 to 5 different things in it's header

2: using a pre defined dictionary{key:value} look at a specific location in each row of the csv file (ie.. row[1] )

3: if the str of data in that location matches one of the key's in the dictionary, I want to write a new_file which includes all of the original data in the row + I want to insert the matching key,value and place that in the rows data at position row[3]

4 if the str of data DOES not match any of the keys in the key_list than I want to write a different file to including all the original data (of the rows that do not have a match)

I will supply a simple csv file with a short list of data so that you can work with it

5. So I want to open a csv file scan it and than create 2x new files, 1x file that matches the key_list, and 1x file that does not have any matches from the key_list

6. the header should of course be the first line in both new files

Python

หมายเลขโปรเจค: #4490760

เกี่ยวกับโปรเจกต์

6 ข้อเสนอ โปรเจกต์ระยะไกล ใช้งาน %project.latestActivity_relativeTime|แทนที่%

มอบให้กับ:

fejs

Hi Sir. I've finished program for You, I'll send You sample results. If You have any more requests, feel free to ask. Best regards, Fejs.

$30 USD ใน 0 วัน
(1 รีวิว)
2.8

freelancer 6 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $56

M5L2764K

Please see PMB

$35 USD ใน 1 วัน
(7 รีวิว)
4.8
biddyweb

You can have it in a few hours.

$84 USD ใน 1 วัน
(1 รีวิว)
4.2
dobreiiita

Hi, I can help you.

$99 USD ใน 2 วัน
(4 รีวิว)
3.4
euripedesrocha

Hi I can help you!

$35 USD ใน 1 วัน
(0 รีวิว)
0.0
machinist

I already did before a task exactly like you require so it will be easy for me to do it for you now. I am a good python programmer and will do this for you exactly as you want. I look forward to hearing from you.

$50 USD ใน 1 วัน
(0 รีวิว)
0.0