def get_subj_ids(data):
    """
    Get unique subject ids from the supplied panda DataFrame. (expect to find a 'subj_idx' column.)
    """
    # get unique subject ids corresponding to a data subset
    return data["subj_idx"].unique()