text_html_output_1.png
import numpy as np # linear algebra

import pandas as pd

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

import pandas as pd
data = pd.read_csv('../input/twitter-train/train.txt', delimiter='\n', header=None)

data_array = data.to_numpy()
x_array = np.reshape(data_array, (-1, 3))
print(x_array)
column = ['Tweet', 'Target', 'Sentiment']
data = pd.DataFrame(data=x_array, columns=column)
data