class_docstr: Class representing a market index.
  
  :param data: Historical price data of the market index.
  
  The ``Market`` class extends the ``Asset`` class and represents a specific type of asset,
  specifically a market index.
  It requires historical price data for the market index to initialize an instance.
docstr: Computes the daily returns (percentage change) of the market index.
  See ``finquant.returns.daily_returns``.
docstr_tok: ["Computes","the","daily","returns","(","percentage","change",")","of","the","market","index",".","See","``","finquant.returns.daily_returns","``","."]
code: def comp_daily_returns(self) -> pd.Series:
      """Computes the daily returns (percentage change) of the market index.
      See ``finquant.returns.daily_returns``.
      """
      return daily_returns(self.data)
  
imports: import pandas
  from finquant.asset import Asset
  from finquant.returns import daily_returns
label_desc: Use image node_id 2 for calling the Market obj's underlying member method code with example usage: obj.comp_daily_returns() and returns: daily_returns