I need to use Python to process the following data. please only import matplotlib.pyplot and operator library modules!!!
Posted: Fri May 20, 2022 11:01 am
I need to use Python to process the following data.
please only
import matplotlib.pyplot and operator library
modules!!! (In particular, do not import csv
modules)Thanks!
1. Top 10 GHG countries: For the
user-selected greenhouse gas (methane, nitrous_oxide, total_ghg),
work out the top ten countries according to per
capita gas emissions. Show their emission values in the
form of a bar chart.
2. Work out and display the country which had the highest
total_ghg emissions per dollar of GDP.
The following is part of the CSV file(name:
carbon.csv) :
please only
import matplotlib.pyplot and operator library
modules!!! (In particular, do not import csv
modules)Thanks!
1. Top 10 GHG countries: For the
user-selected greenhouse gas (methane, nitrous_oxide, total_ghg),
work out the top ten countries according to per
capita gas emissions. Show their emission values in the
form of a bar chart.
2. Work out and display the country which had the highest
total_ghg emissions per dollar of GDP.
The following is part of the CSV file(name:
carbon.csv) :