code: def __init__(self, message="Index not Found", index=None):
      if index is not None:
          message = f"Index {index} not found!"
      super().__init__(message)
  
imports: from functools import partial
  import re
  from collections import Counter
  from typing import List, Union
  import warnings
  import numpy
  import pandas
  from pandas.api.types import is_numeric_dtype, is_categorical_dtype
  from dtreeviz.trees import ShadowDecTree
  from sklearn.metrics import make_scorer
  from sklearn.base import clone
  from sklearn.pipeline import Pipeline
  from sklearn.model_selection import KFold, StratifiedKFold
  from joblib import Parallel, delayed
label_desc: Use image node_id 1 to create a new IndexNotFoundError object from inherited base classes: Exception with example: obj = IndexNotFoundError(message, index)