text_plain_output_1.png
import matplotlib.pyplot as plt

import numpy as np

import pandas as pd

import seaborn as sns

pima = pd.read_csv('../input/pimacsv/pima.csv')

pima.shape

corm = pima.iloc[:, :-1].corr()
masko = np.zeros_like(corm, dtype=np.bool)
masko[np.triu_indices_from(masko)] = True
fig, ax = plt.subplots(figsize=(10, 5))
sns.heatmap(corm, mask=masko, cmap='coolwarm', annot=True)