text_plain_output_1.png
import pandas as pd

import seaborn as sns

df = pd.read_csv('/kaggle/input/nlp-getting-started/train.csv')

df.shape

df.isnull().sum()

df.target.value_counts()

df.keyword.value_counts()

df.drop('location', axis=1, inplace=True)
df.dropna(inplace=True)

df.shape

df.isnull().sum()

df.reset_index(drop=True, inplace=True)

sns.countplot(data=df, x='target')