Heatmap
Heart failure Case study

heatmap
import pandas as pd
import numpy as np#import bokeh and direct the output to the notebook
from bokeh.io import output_notebookoutput_notebook()from bokeh.layouts import gridplot
from bokeh.plotting import figure, output_file, showHeatmap
df = pd.read_csv('data/heart_failure_clinical_records_dataset.csv')
df = df.drop(['DEATH_EVENT'],axis = 1)
c = df.corr().abs()
y_range = (list(reversed(c.columns)))
x_range = (list(c.index))
c
Last updated
