text_plain_output_1.png
import matplotlib.pyplot as plt #plotting

import pandas as pd

import seaborn as sns #visualization

data = pd.read_csv('../input/stroke-prediction-dataset/healthcare-dataset-stroke-data.csv')

data.drop(['id'], axis=1, inplace=True)

data.isnull().sum()

data.isnull().sum()

sns.countplot(data=data, x='stroke')
plt.show()