code: def cagr(close: Series) -> float:
      """Compounded Annual Growth Rate
  
      Args:
          close (pd.Series): Series of 'close's
  
      >>> result = ta.cagr(df.close)
      """
      close = verify_series(close)
      start, end = close.iloc[0], close.iloc[-1]
      return ((end / start) ** (1 / total_time(close))) - 1
  
imports: from typing import Tuple
  from numpy import log
  from numpy import nan
  from numpy import sqrt
  from pandas import Series, Timedelta
  from ._core import verify_series
  from ._time import total_time
  from ._math import linear_regression, log_geometric_mean
  from pandas_ta import RATE
  from pandas_ta.performance import drawdown, log_return, percent_return
label_desc: Use image node_id 1 for calling a global function with example usage: cagr(close) and returns: unknown