docstr: Test binary encoding
docstr_tok: ["Test","binary","encoding"]
code: def test_inverse_transform_11(self):
      """
      Test binary encoding
      """
      train = pd.DataFrame(
          {
              "city": ["chicago", "paris"],
              "state": ["US", "FR"],
              "other": ["A", np.nan],
          }
      )
  
      test = pd.DataFrame(
          {
              "city": ["chicago", "paris", "monaco"],
              "state": ["US", "FR", "FR"],
              "other": ["A", np.nan, "B"],
          }
      )
  
      expected = pd.DataFrame(
          {
              "city": ["chicago", "paris", np.nan],
              "state": ["US", "FR", "FR"],
              "other": ["A", np.nan, "B"],
          }
      )
  
      enc = ce.BinaryEncoder(cols=["city", "state"]).fit(train)
      result = enc.transform(test)
      original = inverse_transform(result, enc)
      pd.testing.assert_frame_equal(original, expected)
  
imports: import unittest
  import pandas
  import numpy
  import category_encoders
  import catboost
  import lightgbm
  import xgboost
  from shapash.utils.transform import inverse_transform, apply_preprocessing, get_col_mapping_ce
  from sklearn.ensemble import GradientBoostingClassifier
label_desc: Use image node_id 11 for calling the TestInverseTransformCaterogyEncoder obj's underlying member method code with example usage: obj.test_inverse_transform_11() without return types