class_docstr: Unit test for summarize
  TODO: Docstring
class_docstr_tok: ["Unit","test","for","summarize","TODO",":","Docstring"]
docstr: Test compute features import 1
docstr_tok: ["Test","compute","features","import","1"]
code: def test_compute_features_import_1(self):
      """
      Test compute features import 1
      """
      column_name = ["col1", "col2", "col3"]
      index_list = ["A", "B", "C"]
      xmatr = pd.DataFrame(
          [[0.1, 0.4, -0.02], [-0.1, 0.2, -0.03], [0.2, -0.8, 0.4]],
          columns=column_name,
          index=index_list,
      )
      output = compute_features_import(xmatr)
      expected = pd.Series([0.4, 1.4, 0.45], index=column_name)
      expected = expected / expected.sum()
      expected = expected.sort_values(ascending=True)
      assert output.equals(expected)
  
file_path: shapash/tests/unit_tests/manipulation/test_summarize.py
imports: import unittest
  import pandas
  from pandas.testing import assert_frame_equal
  import numpy
  from shapash.manipulation.summarize import summarize_el, compute_features_import, group_contributions
label_desc: Use image node_id 5 for calling the TestSummarize obj's underlying member method code with example usage: obj.test_compute_features_import_1() without return types