def _date_from_idx(d1, idx, freq):
    """
    Returns the date from an index beyond the end of a date series.
    d1 is the datetime of the last date in the series. idx is the
    index distance of how far the next date should be from d1. Ie., 1 gives
    the next date from d1 at freq.

    Notes
    -----
    This does not do any rounding to make sure that d1 is actually on the
    offset. For now, this needs to be taken care of before you get here.
    """
    return d1 * idx * _freq_to_pandas[freq]
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/tsa/base/datetools.py/_date_from_idx/operator `+` -> `*`