code: def test_int_idx(
      precalculated_catboost_regression_explainer, test_names
  ):
      assert (
          precalculated_catboost_regression_explainer.get_idx(
              test_names[0]
          )
          == 0
      )
  
imports: import pandas
  import numpy
  from pandas.api.types import is_categorical_dtype, is_numeric_dtype
  import plotly.graph_objs
label_desc: Use image node_id 2 for calling a global function with example usage: test_int_idx(precalculated_catboost_regression_explainer, test_names) without return types