text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

import seaborn as sns

data = pd.read_csv('../input/breast-cancer/breast-cancer - breast-cancer.csv')

C = data['diagnosis'].value_counts()

corr = data.corr()
top_feature = corr.index[abs(corr['diagnosis']) > 0.5]
Important_Data = data[top_feature.values]
top_corr = data[top_feature].corr()

print(Important_Data.shape)
Important_Data.describe()