def make_split(df, t):
	"""
	Splits a dataframe on attribute.
	
	Parameter:
	df -- the dataframe to split
	t -- target attribute to split upon
	
	Return:
	new_df -- split dataframe
	"""
	new_df = {}
	for df_key in df.groupby(t).groups.keys():
		new_df[df_key] = df.groupby(t).get_group(df_key)
	return new_df