code: def test_encode_categorical_missing_columns(df):
      """
      Raise KeyError for missing columns
      when the number of arguments to `column_names`
      is more than one.
      """
      with pytest.raises(KeyError):
          df.encode_categorical(["animals@#$%^", "cities", "aloha"])
  
imports: import datetime
  import numpy
  import pandas
  import pytest
  from hypothesis import given, settings
  from pandas.testing import assert_frame_equal
  from janitor.testing_utils.strategies import categoricaldf_strategy, df_strategy
label_desc: Use image node_id 4 for calling a global function with example usage: test_encode_categorical_missing_columns(df) without return types