examples/Figure_1.png, where we show the counts of good and bad outcomes for the cholesterol, gluc, alco, active, and smoke variables for patients with cardio=1 and cardio=0 in different panels.medical_data_visualizer.py:overweight column to the data. To determine if a person is overweight, first calculate their BMI by dividing their weight in kilograms by the square of their height in meters. If that value is > 25 then the person is overweight. Use the value 0 for NOT overweight and the value 1 for overweight.cholesterol or gluc is 1, make the value 0. If the value is more than 1, make the value 1.catplot(). The dataset should be split by 'Cardio' so there is one chart for each cardio value. The chart should look like examples/Figure_1.png.heatmap(). Mask the upper triangle. The chart should look like examples/Figure_2.png.None, make sure to set it to the correct code.test_module.py.main.py to test your functions. Click the "run" button and main.py will run.test_module.py to main.py for your convenience. The tests will run automatically whenever you hit the "run" button.Posted Jul 26, 2023
Visualizing and making calculations from medical examination data using matplotlib, seaborn, and pandas.
0
9