Question: This exercise ( 8 0 points ) allows a user to load one of two CSV files and then perform histogram analysis and plots for
This exercise points allows a user to load one of two CSV files and then perform histogram analysis
and plots for select variables on the datasets. The first dataset represents the population change for
specific dates for US regions. The second dataset represents Housing data over an extended period of
time describing home age, number of bedrooms and other variables. The first row provides a column
name for each dataset. The following columns should be used to perform analysis:
PopChange.csv:
Pop Apr
Pop Jul
Change Pop
Housing.csv:
AGE
BEDRMS
BUILT
ROOMS
UTILITY
Notice for the Housing CSV file, there are more columns in the file than are required to be analyzed. You
can and should still load each column.
Specific statistics should include:
Count
Mean
Standard Deviation
Min
Max
Histogram
A user interface might look similar to this:
Welcome to the Python Data Analysis App
Select the file you want to analyze:
Population Data
Housing Data
Exit the Program
You have entered Population Data.
Select the Column you want to analyze:
a Pop Apr
b Pop Jul
c Change Pop
d Exit Column
a
You selected Pop Apr
The statistics for this column are:
Count
Mean
Standard Deviation
Min
Max
The Histogram of this column is now displayed.
Select the Column you want to analyze:
a Pop Apr
b Pop Jul
c Change Pop
d Exit Column
d
You selected to exit the column menu
Select the file you want to analyze:
Population Data
Housing Data
Exit the Program
Thanks for using the Data Analysis App
If an inappropriate entry is detected, the program should prompt for a correct value and continue to do
so until a correct value is entered.
Hints:
Use the Pandas, Numpy, MatplotLib and other Python modules when appropriate.
Be sure to install the required Python modules in your environment before you import or try to use
them in your code. For example, pip install each of the required modules that are external Python
libraries that you need.
If an inappropriate entry is detected, the program should prompt for a correct value and continue to
do so until a correct value is entered.
Use comments to document your code
Test with many combinations.
Use pylint to verify the code style the goal is a
The user Interface should continue to run until the user indicates they are ready to exit.
Be sure to review the previous readings and modules as you may need to use statistics and other
modules to complete this lab.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
