def all_subindices(index):
    return (
        index[start:stop]
        for start, stop in product_upper_triangle(range(len(index) + 1))
    )
gnt-node tags
dataset/ETHPy150Open quantopian/zipline/zipline/testing/core.py/all_subindices--crossover with--dataset/ETHPy150Open ganeti/ganeti/qa/qa_tags.py/TestNodeTags