Σε Εξέλιξη

Working with CSV files

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

Δείτε περισσότερα: data str, str, simple csv, hard scan, python create file, python file create, using file python, dictionary csv file, line csv, file scan, course work python, list open files, hard working, python csv file data, csv dictionary file, csv dictionary, create simple dictionary, csv python, write csv file, working data csv files, simple dictionary, convert turbo lister files csv format, python location, csv files, csv header

Σχετικά με τον Εργοδότη:
( 9 αξιολογήσεις ) Warroad, United States

ID Εργασίας: #4490760

Ανατέθηκε στον/στην:

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

6 freelancers κάνουν προσφορές με μέσο όρο $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