def get_idx_dict(cat):
    """Create dict that returns row index of objects when given sourcename"""
    idx_dict = {s:idx for s, idx in zip(cat.Source_Name.values,cat.index.values)}
    return idx_dict