image_output_1.png
X_train = X_sample.iloc[:, :-1].values
y_train = X_sample.iloc[:, -1].values
X_test = y_sample.iloc[:, :-1].values
y_test = y_sample.iloc[:, -1].values

(X_train.shape, X_test.shape, y_train.shape, y_test.shape)