CS628 – Data ScienceWeek 12 AssignmentMonroe CollegeNote: Read the resources posted in week 12 folder and the chapter 7 of the ebook

CS628 – Data Science

Week 12 Assignment

Monroe College

Note: Read the resources posted in week 12 folder and the chapter 7 of the ebook in

the week 12 folder (Python for Data Analysis).

Solve the following problems 1 to 3, work with the Nutrition_subset data set. The data set

contains the weight in grams along with the amount of saturated fat and the amount of

cholesterol for a set of 961 foods. Use Python.

1. The elements in the data set are food items of various sizes, ranging from a

teaspoon of cinnamon to an entire carrot cake.

a. Sort the data set by the saturated fat (saturated_fat) and produce a listing of

the five food items highest in saturated fat.

b. Comment on the validity of comparing food items of different sizes.

2. Derive a new variable, saturated_fat_per_gram, by dividing the amount of

saturated fat by the weight in grams.

a. Sort the data set by saturated_fat_per_gram and produce a listing of the

five food items highest in saturated fat per gram.

b. Which food has the most saturated fat per gram?

3. Derive a new variable, cholesterol_per_gram.

a. Sort the data set by cholesterol_per_gram and produce a listing of the five

food items highest in cholesterol fat per gram.

b. Which food has the most cholesterol fat per gram?

Solve the following problems 4 to 6, work with the adult_ch3_training data set. The
response is whether income exceeds $50,000. Use Python.

4. Add a record index field to the data set.

5. Determine whether any outliers exist for the education field.

6. Do the following for the age field.

a. Standardize the variable.

b. Identify how many outliers there are and identify the most extreme outlier.

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

You are tasked with identifying a standardized assessment instrument/tool to

  You are tasked with identifying a standardized assessment instrument/tool to measure the disorders ( Social Phobia, Panic Disorder…) Instrument/ Tool criteria:   For each assessment, you are tasked with selecting, you will identify an instrument and:   List what DSM diagnosis the tool/instrument is used for   Identify an

Week 3 Project Victimology 1. Select a region state or city of your choice 2. Select a crime or two

Week 3 Project- Victimology1. Select a region, state, or city of your choice2. Select a crime or two of your choice3. Use the below links to analyze the crime of your choice in the region, state or city of your choicehttps://communitycrimemap.com/https://www.crimemapping.com/https://cityprotect.com/map/list/agencies?toDate=2020-05-02T23:59:59.999Z&fromDate=2020-04-29T00:00:00.000Z&pageSize=2000&parentIncidentTypeIds=149,150,148,8,97,104,165,98,100,179,178,180,101,99,103,163,168,166,12,161,14,16,15&zoomLevel=5&latitude=36.823106499999376&longitude=-95.84553739999838&days=1,2,3,4,5,6,7&startHour=0&endHour=24&timezone=%2B00:00https://www.fbi.gov/services/cjis/ucrhttps://www.bjs.gov/index.cfm?ty=dcdetail&iid=245https://www.ucrdatatool.gov/https://www.bjs.gov/index.cfm?ty=tp&tid=31Example of a police departments crime report: https://www.ppines.com/605/Crime-StatisticsYou are NOT

Step 1: Research the work of ONE of the notable

Step 1: Research the work of ONE of the notable dance historians; Thomas DeFrantz, Brenda Dixon Gottschild, Susan Manning, John Perperner, or Peggy Schwartz. Step 2: . Retrieve an article written by one of these historical figures and explain how their challenged and eradicated whiteness in dance history or dance

Pneumonia and lymphoproliferation in humans

A respiratory infection, resulting in pneumonia and lymphoproliferation in humans, has become prevalent in the Western States of the United States. Initial studies suggest that the infection is likely caused by a previously unknown Coronavirus, which likely is endemic to wild rodents found in the desert, and which infects both

1- Please provide a succinct explanation as to why you

1- Please provide a succinct explanation as to why you believe you should be chosen for one of the LEAGUE Foundation’s scholarships (the oldest LGBTQ National Scholarship program in the United States). Feel free to share ‘your story, dreams, and/or career aspirations’ as applicable. Max 300 words. 2- Please describe

To prepare: By Day 1 of this week, you will

  To prepare: By Day 1 of this week, you will be assigned to a specific scenario for this Discussion. Please see the “Course Announcements” section of the classroom for your assignment from your Instructor. By Day 3 of Week 1 Post an explanation of the disease highlighted in the

Maslow’s Hierarchy of Needs

Maslow’s Hierarchy Of Needs was theory which was proposed by the psychologist Abraham Maslow in the year of 1943 down his paper which was named as “A Theory of Human Motivation” in the Psychological Review. Maslow had subsequently extended this idea to include the ideas which he had propounded regarding

Conduct a general survey outside of school on anyone you

Conduct a general survey outside of school on anyone you wish. Perform this as an inspection only and document the findings in short phrases. Also, identify actual or potential risks. Submit your survey to the drop box below. NUR2180 General Survey Assignment.docx NUR2180 General Survey Form.docx Submit your completed assignment

For this assignment you will complete a 2 to 3page Evidence Based Practice EBP report based on a case study.

For this assignment, you will complete a 2- to 3-page Evidence Based Practice (EBP) report based on a case study. From the Institute for Healthcare Improvement source below, select one of the case studies related to improving healthcare:http://www.ihi.org/resources/Pages/CaseStudies/default.aspxYour report should include the following sections:1. Introduction:a. 300-400 words explaining evidence-based practice

Read the following attached documents and links on Cybersquatting and answer the questions that follow: https:smallbusiness.findlaw.combusinessoperationsinternetcybersquattingdefinitionandremedies.html https:www.icann.orgresourcespagescybersquatting20130503en Cybersquatting.Gale Encyclopedia of

Read the following attached documents and links on Cybersquatting and answer the questions that follow:https://smallbusiness.findlaw.com/business-operations/internet-cybersquatting-definition-and-remedies.htmlhttps://www.icann.org/resources/pages/cybersquatting-2013-05-03-enCybersquatting.Gale Encyclopedia of E-Commerce. Ed. Jane A. Malonis. Vol. 1. Detroit: Gale, 2002. 173-174.Gale Virtual Reference Library. Web. 7 Sept. 2016 (see attached)Explain cybersquatting in your own words. Explain laws and other remedies that are available

book precise: Beilby, James and Paul Eddy, Eds. conduct a project in

book precise: Beilby, James and Paul Eddy, Eds. conduct a project in the Thailaivine Foreknowledge: Four Views. Downers Grove: Intervarsity Press, 2001. Gundry, Stanley, and Dennis Jowers, Ed. Four Views on Divine Providence. Grand Rapids: Zondervan. 2011 paper details A Precis assignment is just a summary of the contents in

I just need the slides and details on a word

  I just need the slides and details on a word document. Assessment One Instructions Complete all previous activities in the Learning Module Path: Accounting Systems. You will use the concepts learned in this class throughout your career. The application will be different at the entry level than when you

Due: Monday, 06/14/2021 Noon PST SAFE ASSIGN WILL BE USED

   Due: Monday, 06/14/2021 Noon PST SAFE ASSIGN WILL BE USED TO CHECK FOR ORIGINALITY, no plagiarism  Instructions Supply Chain Management Select a company of your choice and calculate the most current days of working capital (DWC) that is available. Review page 655 in the textbook, (see attachment) and watch

In a two to three paragraph discussion post, identify key

In a two to three paragraph discussion post, identify key aspects of the selected healthcare setting, how their mission and values compare with the services they provide and their target populations, the type of staff who work there, any special or unique aspects of the healthcare setting, and your impression

Minimizing Biases in Performance Evaluation at Expert Engineering

Description There are a variety of techniques that can minimize performance rater biases. In your textbook review “Case Study 6-4: Minimizing Biases in Performance Evaluation at Expert Engineering, Inc.” After reviewing the case and considering the course and textbook content in a 4-5 page paper, not including the cover and