code: def earnings_trend(self) -> pd.DataFrame:
      if self._earnings_trend is None:
          raise YFNotImplementedError("earnings_trend")
      return self._earnings_trend
  
file_path: yfinance/yfinance/scrapers/analysis.py
imports: import pandas
  from yfinance.data import YfData
  from yfinance.exceptions import YFNotImplementedError
label_desc: Use image node_id 2 for calling the Analysis obj's underlying member method code with example usage: obj.earnings_trend() and returns: self