code: def test_df2mat():
      df = pd.DataFrame(["a", "b"])
      assert np.array_equal(df2mat(df), np.array([[1, 0], [0, 1]]))
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_df2mat() without return types