code: def __eq__(self, freq):
      freq = Freq(freq)
      return freq.count == self.count and freq.base == self.base
  
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 2 for calling the Freq obj's underlying member method code with example usage: obj.__eq__(freq) and returns: unknown