From 916e7e07ddb791d9424caa2771e12e23b9b6cd15 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Wed, 23 Mar 2022 21:01:58 +0900 Subject: [PATCH] Problem text and link --- problem_link.txt | 1 + problem_text.txt | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 problem_link.txt create mode 100644 problem_text.txt diff --git a/problem_link.txt b/problem_link.txt new file mode 100644 index 0000000..3a42129 --- /dev/null +++ b/problem_link.txt @@ -0,0 +1 @@ +https://programmingpraxis.com/2021/12/07/cutting-fields-from-a-csv-file/ diff --git a/problem_text.txt b/problem_text.txt new file mode 100644 index 0000000..1c815fb --- /dev/null +++ b/problem_text.txt @@ -0,0 +1,13 @@ +Cutting Fields From A CSV File December 7, 2021 + +Over at Stack Overflow, I answered a question about cutting fields from a CSV +file. Paraphrasing: + + A file in CSV format has a header row containing field names followed by +record rows containing actual data. The user wants to cut fields from the CSV +file to create a new CSV file containing only the specified fields, specifying +the fields by name instead of using their ordinal position. + +Your task is to write a program to cut fields from a CSV file by name. When you +are finished, you are welcome to read or run a suggested solution, or to post +your own solution or discuss the exercise in the comments below.