text_plain_output_1.png
import matplotlib.pyplot as plt

import matplotlib.pyplot as plt

import pandas as pd

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

import seaborn as sns

import seaborn as sns

df = pd.read_csv('../input/diabetes-prediction-using-logistic-regression/diabetes-dataset.csv')

df.describe

df.isna().sum()

plt.figure(figsize=(10, 5))
sns.barplot('Outcome', 'Pregnancies', data=df)
plt.title('Bars of Outcome and Pregnancies')
plt.xlabel('Outcome')
plt.ylabel('Pregnancies')
plt.show()