def splitting(df, target):
    """ Split data into train and test date sets.
	"""
    from sklearn.model_selection import train_test_split
    return train_test_split(df, test_size=0.2, stratify=df[target],
        random_state=2019)
