code: def _abs_abnormal_value_repair(df, dt_col, threshold):
      res_df = df.copy()
      for column in res_df.columns:
          if column == dt_col or pd.api.types.is_string_dtype(
              res_df[column]
          ):
              continue
          res_df[column] = res_df[column].apply(
              lambda x: np.nan
              if x < threshold[0] or x > threshold[1]
              else x
          )
      res_df.iloc[0] = res_df.iloc[0].fillna(0)
      res_df = res_df.fillna(method="pad")
      return res_df
  
file_path: BigDL/python/chronos/src/bigdl/chronos/data/utils/quality_inspection.py
imports: import pandas
  import numpy
  from bigdl.nano.utils.common import invalidInputError
  import logging
label_desc: Use image node_id 10 for calling a global function with example usage: _abs_abnormal_value_repair(df, dt_col, threshold) and returns: res_df