code: def __call__(self, df: pd.DataFrame, *args, **kwargs):
      df.index = pd.to_datetime(df.index)
      res_index = resam_calendar(df.index, "1min", self.target_frq)
      df = df.resample(self.target_frq).last().reindex(res_index)
      return df
  
imports: import pandas
  from qlib.data.inst_processor import InstProcessor
  from qlib.utils.resam import resam_calendar
label_desc: Use image node_id 2 for calling the ResampleNProcessor obj's underlying member method code with example usage: obj.__call__(df) and returns: df