text_html_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

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

train = train.drop_duplicates().reset_index(drop=True)

train.target.value_counts()

train.isnull().sum()

test.isnull().sum()

plt.figure(figsize=(12, 8))
sns.countplot(x='keyword', data=train, order=train.keyword.value_counts().iloc[:15].index)
plt.title('Top Keywords')
plt.show()