code: def test_fit(self):
      # training data
      d = {
          "col1": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10.0],
          "col2": [21, 22, 23, 24, 25, 26, 27, 28, 29, 30.0],
      }
      df = pd.DataFrame(data=d)
  
      scale = Scale(["col1"])
      scale.fit(df)
      df = scale.transform(df)
  
      assert_almost_equal(np.mean(df["col1"]), 0)
      assert_almost_equal(np.mean(df["col2"]), 25.5)
  
      df = scale.inverse_transform(df)
      assert_almost_equal(df["col1"][0], 1)
      assert_almost_equal(df["col1"][1], 2)
  
file_path: mljar-supervised/tests/tests_preprocessing/test_scale.py
imports: import unittest
  import tempfile
  import json
  import numpy
  import pandas
  from numpy.testing import assert_almost_equal
  from supervised.preprocessing.scale import Scale
label_desc: Use image node_id 2 for calling the ScaleTest obj's underlying member method code with example usage: obj.test_fit() without return types