Question: Develop a function to print a custom table (This function should output the Pearson Correlation Coefficient for a subset of the column pairs generated in

Develop a function to print a custom table (This function should output the Pearson Correlation Coefficient for a subset of the column pairs generated in FR5. The function should take three parameters: list of correlation coefficient tuples, border character to use and which columns to include. High marks will be given for good use of padding in the table cells to improve readability)

***********************************************

* Glucose * BloodPressure * BMI * Age *

***************************************************************

* Glucose * - * 0.1429 * 0.0584 * 0.5328 *

* BloodPressure * 0.1429 * - * -0.4522 * 0.4194 *

* BMI * 0.0584 * -0.4522 * - * -0.3847 *

* Age * 0.5328 * 0.4194 * -0.3847 * - *

***************************************************************

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!