Question: Part I Data Processing keyboard_arrow_down For the first section of this project, you will use the csv library to read Atmosphere Temperature, Soil Temperature, Atmosphere
Part I Data Processing
keyboard_arrow_down
For the first section of this project, you will use the csv library to read Atmosphere Temperature, Soil Temperature, Atmosphere Humidity and Soil Humidity from Plant_Data.csv. Don't forget to close your file at the end!
- Create a function to read each variable into a dictionary using the csv.DictReader() function
- Inside of that same function, use a for loop to append each of the value pairs for each category to an empty list
- Pass these lists to another function that will calculate the averages if the values in each list (Hint: Make sure your data is the correct data type)
- Use the function to return these averages to the main(). Display the 4 average values inside main() with 2 digit precision.


Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
