def get_uncert_dict(res):
    """
    Gets the row and column of missing values as a dict

    Args:
    res(np.array): missing mask


    Returns:   uncertain_dict (dict): dictionary with row and col of missingness
    """
    uncertain_dict = {}

    for mytuple in res:
        row = mytuple[0]
        col = mytuple[1]

        if uncertain_dict.get(row):
            uncertain_dict[row].append(col)
        else:
            uncertain_dict[row] = [col]
    return uncertain_dict