Make a UML and do the python programming.
Write a Python application that displays the Earths temperature as related to the Carbon emissions. A secondary agenda of this assignment is to use these techniques in your code:
Default Dictionary
Named Tuple
Comprehensions
Generators
Iterators
Lambda expressions
Regular expressions
Input Files:
Co2.html – Monthy CO2 carbon emissions from 1959 to 2018. Accumulate the average monthly CO2 emission values into one yearly value.
Temperature.html – Annual global Temperatures from 1858 to 2018.
Overview:
The application allows the user to select a year where the data overlaps and and compares the co2 emission levels to the temperature for the selected year.
FrontEnd.py
* Calls search methods in BackEnd.py
* Displays the search results
* Output: for each year where the data overlaps in years, output the temperature and CO2 emission level.
BackEnd.py
* Read and store the data.
* The Carbon Emission data contains monthly data per year. Accumulate the monthly data for each year and store the average emission level in a named tuple.
* Store each year of the Temperature data. The + or – on the data indicate the temperature difference from the base average between 1960 and 1990. Store the data in a Default Dictionary for both the CO2 and Temperature data.
Please note: It is possible to do this lab assignment without using the requested features. However, please use the above features where ever possible in the code. This assignments’ purpose is to put you into a situation where the above features can be effectively used.
The post ML and do the python programming. first appeared on COMPLIANT PAPERS.