docstr: Unit test get_feature_names 1
docstr_tok: ["Unit","test","get_feature_names","1"]
code: def test_get_feature_names_1(self):
      """
      Unit test get_feature_names 1
      """
      train = pd.DataFrame(
          {"num1": [0, 1], "num2": [0, 2], "other": ["A", "B"]}
      )
  
      enc_1 = ColumnTransformer(
          transformers=[
              (
                  "Quantile",
                  skp.QuantileTransformer(n_quantiles=2),
                  ["num1", "num2"],
              )
          ],
          remainder="drop",
      )
  
      enc_2 = ColumnTransformer(
          transformers=[
              (
                  "Quantile",
                  skp.QuantileTransformer(n_quantiles=2),
                  ["num1", "num2"],
              )
          ],
          remainder="passthrough",
      )
  
      enc_1.fit(train)
      enc_2.fit(train)
  
      feature_enc_1 = get_feature_names(enc_1)
      feature_enc_2 = get_feature_names(enc_2)
  
      assert len(feature_enc_1) == 2
      assert len(feature_enc_2) == 3
  
imports: import unittest
  import pandas
  import numpy
  import category_encoders
  from sklearn.compose import ColumnTransformer
  import sklearn.preprocessing
  import catboost
  import sklearn
  import lightgbm
  import xgboost
  from shapash.utils.transform import inverse_transform
  from shapash.utils.transform import apply_preprocessing
  from shapash.utils.columntransformer_backend import get_feature_names, get_names, get_list_features_names, get_col_mapping_ct
  from sklearn.ensemble import GradientBoostingClassifier
label_desc: Use image node_id 32 for calling the TestInverseTransformColumnsTransformer obj's underlying member method code with example usage: obj.test_get_feature_names_1() without return types