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
Get step-by-step solutions from verified subject matter experts
