Cardea
Cardea.
train_test_split
Split the training dataset and the testing dataset.
X (pandas.DataFrame or ndarray) – Inputs to the pipeline.
y (pandas.Series or ndarray) – Target values.
test_size (float) – The proportion of the dataset to include in the test dataset.
shuffle (bool) – Whether or not to shuffle the data before splitting.
List containing the train-test split of the inputs and targets.
list