def split_by_pt(sheet, col):
    """
    Function to split up a sheet by patient \n
    Takes a pd.DataFrame, specify column as text
    """
    patient_dfs = list()
    unique_patients = sheet[col].unique()
    
    #Work through the the patients and split into new sheets
    for i, j in enumerate(unique_patients):
        temp_df = sheet.loc[sheet[col] == j, :]
        patient_dfs.append(temp_df) 

    return patient_dfs