class_docstr: Class which contains abstract methods for data preprocessing.
class_docstr_tok: ["Class","which","contains","abstract","methods","for","data","preprocessing","."]
docstr: restores index from ``input_data`` into ``result``
  
  Args:
      input_data: data to take the index from
      result: data to store index into
  
  Returns:
      ``result`` with restored index
docstr_tok: ["restores","index","from","``","input_data","``","into","``","result","``","Args",":","input_data",":","data","to","take","the","index","from","result",":","data","to","store","index","into","Returns",":","``","result","``","with","restored","index"]
code: def restore_index(
      self, input_data: InputData, result: OutputData
  ) -> OutputData:
      """
      restores index from ``input_data`` into ``result``
  
      Args:
          input_data: data to take the index from
          result: data to store index into
  
      Returns:
          ``result`` with restored index
      """
      raise AbstractMethodNotImplementError
  
imports: from abc import ABC, abstractmethod
  from typing import Dict, Union, TYPE_CHECKING
  import numpy
  from sklearn.preprocessing import LabelEncoder
  from fedot.core.data.data import InputData, OutputData
  from fedot.core.data.multi_modal import MultiModalData
  from fedot.core.operations.evaluation.operation_implementations.data_operations.categorical_encoders import LabelEncodingImplementation, OneHotEncodingImplementation
  from fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations import ImputationImplementation
  from fedot.preprocessing.categorical import BinaryCategoricalPreprocessor
  from fedot.preprocessing.data_types import TableTypesCorrector
  from fedot.preprocessing.structure import DEFAULT_SOURCE_NAME
  from fedot.utilities.custom_errors import AbstractMethodNotImplementError
label_desc: Use image node_id 11 for calling the BasePreprocessor obj's underlying member method code with example usage: obj.restore_index(input_data, result) without return types