def partition_opm_license_list(df):
    """This function partitions the OPM Granted Licenses list by license type, storing the result in a Python dictionary.

    Parameters
    ----------
    df (DataFrame): OPM Granted Licenses list

    Returns
    -------
    license_list_dict (dict): OPM Granted Licenses list partitioned by license type
    """
    license_list_dict = {}
    license_list_dict['PBI'] = df[ ~df['Power BI'].isna() ]
    license_list_dict['P1'] = df[ ~df['Essentials License (Project Plan Essential)'].isna() ]
    license_list_dict['P3'] = df[ ~df['Professional (Project Plan 3)'].isna() ]
    license_list_dict['P5'] = df[ ~df['Premium (Project Plan 5)'].isna() ]
    return license_list_dict