def splitList(content, cut):
    """splits an array in two.
    arguments :
        `content` : (ndarray/list)
            the array to split in two.
        `cut` : (float) in [0:1]
            the ratio by which we will split the array.
    """
    c = int(len(content) * cut)
    return (content[:c], content[c:])