class_docstr: Provides methods for retrieving daily stock data from
  Yahoo Finance API
code: def convert_interval(self, time_interval: str) -> str:
      # Convert FinRL 'standardised' time periods to Yahoo format: 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo, 3mo
      if time_interval in [
          "1Min",
          "2Min",
          "5Min",
          "15Min",
          "30Min",
          "60Min",
          "90Min",
      ]:
          time_interval = time_interval.replace("Min", "m")
      elif time_interval in ["1H", "1D", "5D"]:
          time_interval = time_interval.lower()
      elif time_interval == "1W":
          time_interval = "1wk"
      elif time_interval in ["1M", "3M"]:
          time_interval = time_interval.replace("M", "mo")
      else:
          raise ValueError("wrong time_interval")
  
      return time_interval
  
imports: from __future__ import annotations
  import datetime
  from datetime import date
  from datetime import timedelta
  from sqlite3 import Timestamp
  from typing import Any
  from typing import Dict
  from typing import List
  from typing import Optional
  from typing import Type
  from typing import TypeVar
  from typing import Union
  import exchange_calendars
  import numpy
  import pandas
  import pytz
  import yfinance
  from stockstats import StockDataFrame
label_desc: Use image node_id 2 for calling the YahooFinanceProcessor obj's underlying member method code with example usage: obj.convert_interval(time_interval) and returns: time_interval