Question: This is the first lab for the CS 1 6 5 6 - - Introduction to Data Science ( CS 2 0 5 6 )
This is the first lab for the CS Introduction to Data Science CS class, for the Spring semester.
Goal
The goal of this assignment is to familiarize you with the Python programming language.
What to do task.py
You are asked to implement parts # # # and # from the recitation handout. The program skeleton is already in place, you just need to implement the methods.
def partself
For this part, you must use self.hours we defined in part and store its data as a CSV file hourscsv with the fields name, day and time. You should look up the csv module and the writer function in particular. The command to open the csv file for writing is already in the template, so don't change it
def partself
For this part, you must open the CSV file created from part read its contents, and write them in the file parttxt
def partself
For this part, you must open the CSV file again, but this time you must parse it using csvreader and write only the rows, one row at a time, in the file parttxt The rows have to be written as if they were being printed on the console. For example, if the csv has two rows, with one row having two fields, a string "One" and a string "Two", and the second row having the strings "Three" and "four", they have to be written as
One "Two"Three "Four"
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
