norm_age_group#

norm_age_group(age_dic, age_min, age_max)[source]#

Create a normalized dictionary for the range age_min to age_max, inclusive.

Parameters:
  • age_dic (dict) – A dictionary with numerical values.

  • age_min (int) – The minimum value of the range for the dictionary.

  • age_max (int) – The maximum value of the range for the dictionary.

Returns:

A normalized dictionary for keys in the range age_min to age_max, inclusive.