import math


def list_separator(data: list) -> list:
    """ Function used to transform the batch arrays into blocks to bypass the 100 item limit.
    Args:
        data (list): The list to be separated.
    Returns:
        list: A list of lists each having a maximum of 100 items.
    """

    big_list = []
    total_num = math.ceil(len(data)/100)
    for i in range(total_num):
        big_list.append(data[i*100:(i+1)*100])
    return big_list