text_html_output_1.png
import pandas as pd

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

train_dataset.shape

train_dataset.fillna('', inplace=True)
test_dataset.fillna('', inplace=True)

dataset = pd.DataFrame()
test_dataset_cleaned = pd.DataFrame()
dataset['all_combined'] = train_dataset['keyword'] + ' ' + train_dataset['location'] + ' ' + train_dataset['text']
test_dataset_cleaned['all_combined'] = test_dataset['keyword'] + ' ' + test_dataset['location'] + ' ' + test_dataset['text']
test_dataset_cleaned.shape

dataset.head(520)