code: def cumulative_returns(returns):
      """
      Computes cumulative returns from simple daily returns.
  
      Parameters
      ----------
      returns: pd.Series
          pd.Series containing daily factor returns (i.e. '1D' returns).
  
      Returns
      -------
      Cumulative returns series : pd.Series
          Example:
              2015-01-05   1.001310
              2015-01-06   1.000805
              2015-01-07   1.001092
              2015-01-08   0.999200
      """
  
      return ep.cum_returns(returns, starting_value=1)
  
imports: import pandas
  import numpy
  import warnings
  import empyrical
  from pandas.tseries.offsets import BDay
  from scipy import stats
  from statsmodels.regression.linear_model import OLS
  from statsmodels.tools.tools import add_constant
  from .None import utils
label_desc: Use image node_id 6 for calling a global function with example usage: cumulative_returns(returns) and returns: ep