text_plain_output_1.png
import pandas as pd

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()

print(train.keyword.nunique(), test.keyword.nunique())