code: def test_column_selector_exclude(data):
      """Tests column selector exclude parameter"""
      cols = ["regressor1", "regressor2"]
      selector = DtypeColumnSelector(exclude="number")
      assert selector.include is None
      assert selector.exclude == "number"
  
      result = selector.fit_transform(data)
      assert result.equals(data.drop(cols, axis=1))
  
file_path: greykite/greykite/tests/sklearn/transform/test_dtype_column_selector.py
imports: import pytest
  from greykite.common.constants import TIME_COL
  from greykite.common.testing_utils import generate_df_with_reg_for_tests
  from greykite.sklearn.transform.dtype_column_selector import DtypeColumnSelector
label_desc: Use image node_id 7 for calling a global function with example usage: test_column_selector_exclude(data) without return types