code: def test_col_not_found3(df_dates):
      """
      Raise KeyError if the search value is not in df.columns,
      and df.columns is a datetime index.
      """
      with pytest.raises(KeyError):
          df_dates.select_columns("id")
  
imports: import datetime
  import re
  from itertools import product
  import numpy
  import pandas
  import pytest
  from pandas.api.types import is_numeric_dtype
  from pandas.testing import assert_frame_equal
  from janitor.functions.utils import DropLabel, get_columns, patterns
label_desc: Use image node_id 14 for calling a global function with example usage: test_col_not_found3(df_dates) without return types