text_plain_output_1.png
import pandas as pd

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

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

train_df.shape

nan_count = train_df.isna().sum()
nan_count

train_df.drop(['location'], axis=1)

train_df.duplicated(['text', 'target']).sum()

train_df = train_df.drop_duplicates(['text', 'target'])

train_df.shape

train_df['contractions_converted'][9]