code: def _missing_value_repair(df, dt_col):
      """
      This repair is used to fill missing value with impute by linear interpolation.
      """
      try:
          # interpolate for most cases
          temp_col = df[dt_col]
          df[dt_col] = 0
          df.interpolate(
              method="linear",
              axis=0,
              limit_direction="both",
              inplace=True,
          )
          df[dt_col] = temp_col
          # fillna with 0 for cases when the whole column is missing
          df.fillna(0, inplace=True)
      except:
          return False
      logging.warning("Missing data has be imputed.")
      return True
  
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 7 for calling a global function with example usage: _missing_value_repair(df, dt_col) and returns: True, False