def get_labelled_groups(labelled_measures_table, labelname):
    """
	Provides a simple way of splitting a labelled measures table into multiple tables each corresponding to a given label.

	Args:
		labelled_measures_table (Dataframe): A measures table with a column corresponding to a label.
		labelname (String): The name of the label to be split on.

	Returns:
		List of dataframes correspending to membership of a given label.

	"""

    # get the labels IN ASCENDING ORDER (important)
    labels = sorted(set(list(labelled_measures_table[labelname].values)))
    player_groups = []
    for label in labels:
        this_group = labelled_measures_table[
            labelled_measures_table[labelname] == label
        ]
        player_groups.append(this_group)

    return player_groups