Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part 1 . 3 : Diversity in Tech For this problem, you will be using data on diversity in top technology companies. Use the dictionary
Part : Diversity in Tech
For this problem, you will be using data on diversity in top technology companies. Use the dictionary techdiversitydata to access the information.
You would like to analyze the nested dictionary ie dictionary of dictionaries to find the companies that have a lower ratio of given groups of people than the given ratio, and return a dictionary of the companies and the ratio associated with the groups at the company.
For example, if ratio and fields womenofcolor','totalfemale' then the returning dictionary should contain all of the companies with the ratio of womenofcolor to totalfemale employees less than
I.e calculatedratio rowwomenofcolor' rowtotalfemale'
If the calculatedratio is less than the item companyname: calculatedratio is put in the dictionary.
Define the following function:
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