def calculate_max_series(series):
    """
    Calculate the maximum of a series

    :param series: list of values where we want to know the maximum of.

    :return max(series): highest value in the series
    """

    assert type(series) is list and len(series) != 0
    return max(series)