Question: python please The file cereal.scsv contains the nutritional information for over 70 cereals. However it's in a format that is rarely used (semi-colon separated values).
python please 
The file cereal.scsv contains the nutritional information for over 70 cereals. However it's in a format that is rarely used (semi-colon separated values). The reason it's in this format is that a few cereals have commas in their name (e.g. Fruit & Fibre Dates, Walnuts, and Oats). There is a separate lesson on converting this data to a proper csv format. Also note that the first line identifies the column names (the header) The data starts on the second row. Part 1: Getting the column index Create a function named get_column_index that returns the index of the column. It has two parameters: filename_in is the path to the file to read the semicolon separated data file column_name is the name of the column of data we are interested in Restrictions: you must use readlines there's no need to use LessonUtil So if the file for the dataset and 'protein' were passed it, you would return 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
