def avg(rows: list, index: int):
    """
    This is used to calculate the skill average and the slayer average of the whole guild
    :param (list) rows: A list containing more lists which are used to calculate the average
    :param (index) index: The index in the list of the value to calculate
    :returns (str): The rounded guild average
    """
    total = 0
    for row in rows:
        if type(row[index]) in (int, float):
            total += row[index]

    result = total / len(rows)
    return str(round(float(result), 1))