def itertuples_raw(df, discrete, weighted=False):
    """`df.itertuples` in a raw form left and right bound."""
    kargs = {}
    if not discrete:
        kargs['bounds'] = True
    if weighted:
        kargs['weights'] = True
    return df.itertuples(**kargs)
