Question: need the following code for each output. Q2: plot correlation lines of Glucose and Age while differentiating between individuals with diabetes and those without. (total

need the following code for each output.  need the following code for each output. Q2: plot correlation lines
of "Glucose" and "Age" while differentiating between individuals with diabetes and those
without. (total 4 points) A plot the tine (3 points) Correlation lines
of age and glucose Q3: caiculate the average Glucose level at each

Q2: plot correlation lines of "Glucose" and "Age" while differentiating between individuals with diabetes and those without. (total 4 points) A plot the tine (3 points) Correlation lines of age and glucose Q3: caiculate the average Glucose level at each Age, then re-plot correlation lines of the average "Glucose" and "Age" while differentiating between individuals with diabetes and those without. (total 6 points) hints: 1. you can always print the outputs at a specific step to check what you should insert and plot the figures. 2. Once you groupby a column/columns, itthey becomes the index of the grouped by dataframe. 3. It is better to plot two figures for this question, instead of one. One is for people who have diatetes, one is for people who without. a plot the tine (2,5 points) Average Glucose Level by Age for People with Diabetes Average Glucose Level by Age for People without Diabetes Q4: plot a barchart, displaying the average BMI while differentiating between individuals with diabetes and those without. (total 4 points) - plot the barchart (3 points) Average BMI by Diabetes (1:yes, 0:no)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!