get_ids_by_age#

get_ids_by_age(age_by_id)[source]#

Get lists of IDs that map to each age.

Parameters:

age_by_id (dict) – A dictionary with the age of each individual by their ID.

Returns:

A dictionary listing IDs for each age from a dictionary that maps ID to age.