code: def test_on_numerical_variables(df_enc_numeric):
      # ignore_format=True
      encoder = WoEEncoder(variables=None, ignore_format=True)
      encoder.fit(
          df_enc_numeric[["var_A", "var_B"]], df_enc_numeric["target"]
      )
      X = encoder.transform(df_enc_numeric[["var_A", "var_B"]])
  
      # transformed dataframe
      transf_df = df_enc_numeric.copy()
      transf_df["var_A"] = VAR_A
      transf_df["var_B"] = VAR_B
  
      # init params
      assert encoder.variables is None
      # fit params
      assert encoder.variables_ == ["var_A", "var_B"]
      assert encoder.encoder_dict_ == {
          "var_A": {
              1: 0.15415067982725836,
              2: -0.5389965007326869,
              3: 0.8472978603872037,
          },
          "var_B": {
              1: -0.5389965007326869,
              2: 0.15415067982725836,
              3: 0.8472978603872037,
          },
      }
      assert encoder.n_features_in_ == 2
      # transform params
      pd.testing.assert_frame_equal(X, transf_df[["var_A", "var_B"]])
  
file_path: feature_engine/tests/test_encoding/test_woe_encoder.py
imports: import pandas
  import pytest
  from feature_engine.encoding import WoEEncoder
label_desc: Use image node_id 9 for calling a global function with example usage: test_on_numerical_variables(df_enc_numeric) without return types