Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4 A-4. [5 marks]: Create a new column called Height_Class that is based on height (height_m) ranges with different ranges for Male and Female as

4 A-4. [5 marks]: Create a new column called Height_Class that is based on height (height_m) ranges with different ranges for Male and Female as given in the table below. Range for Males Height in meters Range for Females Height in meters Height < 1.6 Height < 1.55 1.6 Height< to 1.75 1.75 Height 1.55 Height 1.7 1.7 Height Height_Class Short Normal Tall Display the first 10 random rows of the DataFrame. A-5. [5 marks]: Identify the pair-wise correlation between all the numerical variables using a heatmap plot. Set the title of the plot as "Correlation between Attributes". The plot should display correlation value in each cell of the plot using the annotation option of the heatmap. Set the format of the numbers to display one decimal place so numbers can be viewed clearly. From the results, identify and print which variables have a very strong positive or negative correlation to BMI

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899