def product_upper_triangle(values, include_diagonal=False):
    return all_pairs_matching_predicate(
        values,
        operator.le if include_diagonal else operator.lt,
    )
Return an iterator over pairs, (v0, v1), drawn from values.
dataset/ETHPy150Open quantopian/zipline/zipline/testing/core.py/product_upper_triangle