text_html_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

df = pd.read_csv('/kaggle/input/email-spam-classification-dataset-csv/emails.csv')

df = df.drop(columns=['Email No.'])

df.shape

df.isna().sum()

df.duplicated().sum()

df = df.drop_duplicates()

df.duplicated().sum()

sns.countplot(data=df, x='Prediction', color=sns.color_palette()[0])
plt.show()