class_docstr: Dataset-Based Updater
  
  - Providing updating feature for Updating data based on Qlib Dataset
  
  Assumption
  
  - Based on Qlib dataset
  - The data to be updated is a multi-level index pd.DataFrame. For example label, prediction.
  
      .. code-block::
  
                                   LABEL0
          datetime   instrument
          2021-05-10 SH600000    0.006965
                     SH600004    0.003407
          ...                         ...
          2021-05-28 SZ300498    0.015748
                     SZ300676   -0.001321
class_docstr_tok: ["Dataset-Based","Updater","-","Providing","updating","feature","for","Updating","data","based","on","Qlib","Dataset","Assumption","-","Based","on","Qlib","dataset","-","The","data","to","be","updated","is","a","multi-level","index","pd.DataFrame",".","For","example","label",",","prediction",".","..","code-block",":",":","LABEL0","datetime","instrument","2021-05-10","SH600000","0.006965","SH600004","0.003407","...","...","2021-05-28","SZ300498","0.015748","SZ300676","-0.001321"]
docstr: return the updated data based on the given dataset
  
  The difference between `get_update_data` and `update`
  - `update_date` only include some data specific feature
  - `update` include some general routine steps(e.g. prepare dataset, checking)
docstr_tok: ["return","the","updated","data","based","on","the","given","dataset","The","difference","between","`","get_update_data","`","and","`","update","`","-","`","update_date","`","only","include","some","data","specific","feature","-","`","update","`","include","some","general","routine","steps","(","e.g",".","prepare","dataset",",","checking",")"]
code: def get_update_data(self, dataset: Dataset) -> pd.DataFrame:
      """
      return the updated data based on the given dataset
  
      The difference between `get_update_data` and `update`
      - `update_date` only include some data specific feature
      - `update` include some general routine steps(e.g. prepare dataset, checking)
      """
  
imports: from abc import ABCMeta, abstractmethod
  from typing import Optional
  import pandas
  from qlib import get_module_logger
  from qlib.data import D
  from qlib.data.dataset import Dataset, DatasetH, TSDatasetH
  from qlib.data.dataset.handler import DataHandlerLP
  from qlib.model import Model
  from qlib.utils import get_date_by_shift
  from qlib.workflow.recorder import Recorder
  from qlib.workflow.record_temp import SignalRecord
label_desc: Use image node_id 4 for calling the DSBasedUpdater obj's underlying member method code with example usage: obj.get_update_data(dataset) without return types