Question: Question 6 Lowest Cal Per Cup: .csv files are comma separated files. A file named 'cereal.csv' contains data on different brands of cereal. As described

Question 6 Lowest Cal Per Cup: ".csv" files are comma separated files. A file named 'cereal.csv' contains data on different brands of cereal. As described in the first row, each row of data will contain the following variables Name, Manufacturer, Type, Calories, Cups. In more detail, each of these variables represents Column Description Possible Values Name The name of the brand All-Bran Trix Quaker Oatmeal General Mills Post Quaker Oats Manufacturer The name of the company that creates the cereal Type Whether the cereal is eaten hot or cold H 110 140 90 Calories An integer of the number of calories per serving 1 0.67 0.88 Cups A float that stores the number of cups in a serving Write a function that finds the brand that has the lowest calories per cup of cereal. The function should return a list where the first element is the brand name, and the second element is manufacturer. If there are multiple tied for the lowest, choose the first one that occurs in the data. Question 6 Lowest Cal Per Cup: ".csv" files are comma separated files. A file named 'cereal.csv' contains data on different brands of cereal. As described in the first row, each row of data will contain the following variables Name, Manufacturer, Type, Calories, Cups. In more detail, each of these variables represents Column Description Possible Values Name The name of the brand All-Bran Trix Quaker Oatmeal General Mills Post Quaker Oats Manufacturer The name of the company that creates the cereal Type Whether the cereal is eaten hot or cold H 110 140 90 Calories An integer of the number of calories per serving 1 0.67 0.88 Cups A float that stores the number of cups in a serving Write a function that finds the brand that has the lowest calories per cup of cereal. The function should return a list where the first element is the brand name, and the second element is manufacturer. If there are multiple tied for the lowest, choose the first one that occurs in the data
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
