text_plain_output_1.png
from sklearn.model_selection import train_test_split

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

train = pd.read_csv('../input/30-days-of-ml/sample_submission.csv')
test = pd.read_csv('../input/30-days-of-ml/train.csv')
sample_submission = pd.read_csv('../input/30-days-of-ml/sample_submission.csv')

train.shape

target = train.target
X_trainfull, X_validfull, y_train, y_valid = train_test_split(train, target, train_size=0.8, test_size=0.2, random_state=42)

target