text_plain_output_2.png application_vnd.jupyter.stderr_output_1.png
from sklearn.model_selection import train_test_split

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/train.csv')
labels = data['target'].values
data = data.drop(['id', 'target'], axis=1).values

from sklearn.model_selection import train_test_split
X_train, X_test, y_train, y_test = train_test_split(data, labels, test_size=0.2)
print(X_train.shape, y_train.shape, X_test.shape, y_test.shape)