text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import seaborn as sns  # visualization tool

data = pd.read_csv('/kaggle/input/water-potability/water_potability.csv')

data.corr()

f, ax = plt.subplots(figsize=(15, 15))
sns.heatmap(data.corr(), annot=True, linewidths=0.5, fmt='.2f', ax=ax)
plt.show()