code: def growthfromrange(rangegrowth, startdate, enddate):
      
      _yrs = (pd.Timestamp(enddate) - pd.Timestamp(startdate)).total_seconds() /\
              dt.timedelta(365.25).total_seconds()
      return yrlygrowth(rangegrowth, _yrs)
docs: Annual growth given growth from start date to end date.