code: def test_transformer_on_integer_variables():
      df = pd.DataFrame(
          {
              "var1": [0, 1, 0, 2, 3, 4, 5, 6, 8, 10],
              "var2": [12, 11, 10, 15, 13, 12, 11, 10, 10, 20],
          }
      )
  
      dft = pd.DataFrame(
          {
              "var1": {
                  0: 0.0,
                  1: 0.7871467037957388,
                  2: 0.0,
                  3: 1.34716625120788,
                  4: 1.797027857352365,
                  5: 2.1794549065159363,
                  6: 2.5155129679774246,
                  7: 2.817344570368886,
                  8: 3.346739213848269,
                  9: 3.8051709334268566,
              },
              "var2": {
                  0: 0.2891005444159968,
                  1: 0.2890875957028113,
                  2: 0.2890687942494933,
                  3: 0.2891213447054929,
                  4: 0.2891097235906253,
                  5: 0.2891005444159968,
                  6: 0.2890875957028113,
                  7: 0.2890687942494933,
                  8: 0.2890687942494933,
                  9: 0.28913341330818815,
              },
          }
      )
  
      X_tr = YeoJohnsonTransformer().fit_transform(df)
      pd.testing.assert_frame_equal(X_tr, dft)
  
file_path: feature_engine/tests/test_transformation/test_yeojohnson_transformer.py
imports: import pandas
  import pytest
  from sklearn.exceptions import NotFittedError
  from feature_engine.transformation import YeoJohnsonTransformer
label_desc: Use image node_id 2 for calling a global function with example usage: test_transformer_on_integer_variables() without return types