def _split_list(l, num_elems_in_chunk):
    args = ([iter(l)] * num_elems_in_chunk)
    return list(itertools.zip_longest(*args))
def _split_list(l, num_elems_in_chunk):
    args = ([iter(l)] * num_elems_in_chunk)
    return list(itertools.zip_longest(*args))