docstr: get pd.Timedeta object
  
  Parameters
  ----------
  n : int
  freq : str
      Typically, they are the return value of Freq.parse
  
  Returns
  -------
  pd.Timedelta:
docstr_tok: ["get","pd.Timedeta","object","Parameters","--","--","--","--","--","n",":","int","freq",":","str","Typically",",","they","are","the","return","value","of","Freq.parse","Returns","--","--","--","-","pd.Timedelta",":"]
code: def get_timedelta(n: int, freq: str) -> pd.Timedelta:
      """
      get pd.Timedeta object
  
      Parameters
      ----------
      n : int
      freq : str
          Typically, they are the return value of Freq.parse
  
      Returns
      -------
      pd.Timedelta:
      """
      return pd.Timedelta(f"{n}{freq}")
  
imports: import bisect
  from datetime import datetime, time, date, timedelta
  from typing import List, Optional, Tuple, Union
  import functools
  import re
  import pandas
  from qlib.config import C
  from qlib.constant import REG_CN, REG_TW, REG_US
label_desc: Use image node_id 6 for calling the Freq obj's underlying member method code with example usage: obj.get_timedelta(n, freq) and returns: pd