def get_time_group_max(time_group):
    """Return dictionary with max values for each time group."""
    dict_time_max = {'year': 5000,      # dummy large value for year since unbounded ... 
                     'season': 4,    
                     'quarter': 4, 
                     'month': 12, 
                     'weekofyear': 53,  
                     'dayofweek': 7,    # init 0, end 6
                     'dayofyear': 366,
                     'day': 31, 
                     'hour': 24,        # init 0, end 23
                     'minute': 60,      # init 0, end 59
                     'second': 60,      # init 0, end 59
                     }
    return dict_time_max[time_group]