This package consists of six Python modules:
-
assignment9.py which is the main program. When called by user, it will create user interaction and run the whole program.
-
Region_class.py which plots the histogram and box for a fixed year for income per person group by region. When create a region_income object, it will automatically do the plot.
-
excep_class.py which handles possible exceptions during the whole project.
-
test.py run unittest about the user input.
-
load_data.py loads the two datasets and prepare the dataframe and plot hist for the following function
-
year_class.py is the class about the input from user. create a year object from input of user