def METHOD_NAME(timestamps, data_values): # need dictionary with data and timestamps
    '''Returns average hourly data based on the input data along with the
    maximum value from the dataset.
    '''
    hourly_data = {'00': [], '01': [], '02': [], '03': [], '04': [],
                   '05': [], '06': [], '07': [], '08': [], '09': [],
                   '10': [], '11': [], '12': [], '13': [], '14': [],
                   '15': [], '16': [], '17': [], '18': [], '19': [],
                   '20': [], '21': [], '22': [], '23': []}
    # Finding max value, useful to find highest wind speed so a turbine can be chosen that can survive
    max_data_value = 0
    n = 0
    for timestamp in timestamps: # sorting by hour
        hourly_data[timestamp[11:13]].append(data_values[n]) # edit so you can get the right part of the timestamp
        if data_values[n] > max_data_value:
            max_data_value = data_values[n]
        n += 1
    average_by_hour = []
    for hour in hourly_data.keys():
        average_by_hour.append(mean(hourly_data[hour]))
    return average_by_hour, max_data_value