Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Homework 7 This homework / notebook demonstrates the use of aggregate functions in Pandas data frames ( similar to GROUP BY clause in SQL )
Homework
This homeworknotebook demonstrates the use of aggregate functions in Pandas data frames
similar to GROUP BY clause in SQL The objective of this homework is for you to be able to
write aggregate functions and create a simple bar chart.
Homework Instructions
Start Jupyter Notebook and upload Homework ipunb notebook. Read, understand, and rum the
code in each cell. Besides many other examples, this notebook shows top five occupations by
percentage for men in the total worlforce. The output shows a listing in tabular form as well as
a bar chart for the top five male occupations.
Your task is to add additional cells at the end of this notebook where you should write necessary
code to do the following two things: Generate a tabular output that shows top seven
occupations for females, and Generate a bar chart that shows the same information
graphically. Please notice the labels for the chart and its two axes your chart's title and subtitle
should be modified appropriately and include your own name.
What to Submit
Make two screenshots as below, paste them in a Word document, and submit the Word
document containing your full name at the top of the document.
A screenshot of the code, together with its tabular output for top female occupation
percentages see an example below, though it's for males and shows top five occupationsRae ogeupet Lons Esort walvessecendLng ralse hesdC
deeter $
engLneer
teahniedan a$
retred
progranrex
dtyper loats A screenshot of the code and its chart output for top female occupation percentages in the
workforce see an example below, though it's for males and shows top five occupationsof olker tale past
YoL.alur
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started