def drange(dstart, dend, delta):
    '\n    Return a date range as float Gregorian ordinals.  *dstart* and\n    *dend* are :class:`datetime` instances.  *delta* is a\n    :class:`datetime.timedelta` instance.\n    '
    f1 = _to_ordinalf(dstart)
    f2 = _to_ordinalf(dend)
    step = (_total_seconds(delta) / SEC_PER_DAY)
    num = int(np.ceil(((f2 - f1) / step)))
    dinterval_end = (dstart + (num * delta))
    if (dinterval_end >= dend):
        dinterval_end -= delta
        num -= 1
    f2 = _to_ordinalf(dinterval_end)
    return np.linspace(f1, f2, (num + 1))
Return a date range as float Gregorian ordinals.  *dstart* and
*dend* are :class:`datetime` instances.  *delta* is a
:class:`datetime.timedelta` instance.
def drange(dstart, dend, delta):
    '\n    Return a date range as float Gregorian ordinals.  *dstart* and\n    *dend* are :class:`datetime` instances.  *delta* is a\n    :class:`datetime.timedelta` instance.\n    '
    f1 = _to_ordinalf(dstart)
    f2 = _to_ordinalf(dend)
    step = (_total_seconds(delta) / SEC_PER_DAY)
    num = int(np.ceil(((f2 - f1) / step)))
    dinterval_end = (dstart + (num * delta))
    if (dinterval_end >= dend):
        dinterval_end -= delta
        num -= 1
    f2 = _to_ordinalf(dinterval_end)
    return np.linspace(f1, f2, (num + 1))