code: def test_get_col_matrix(self):
      # no edges so this should be None
      assert self.g2.get_matrix(kind="edges") is None
  
      # test target methods
      assert all(
          self.g2.get_matrix(target=True).columns
          == self.g2._node_target.columns
      )
      assert self.g2.get_matrix("Anxiety", target=True).shape[0] == len(
          self.g2._node_target
      )
      # test str vs list
      assert (
          (
              self.g2.get_matrix("Anxiety", target=True)
              == self.g2.get_matrix(["Anxiety"], target=True)
          )
          .all()
          .values[0]
      )
  
      # assert list(self.g2.get_matrix(['Anxiety', 'education', 'computer'], target=True).columns) == ['label_Anxiety', 'label_education', 'label_computervision']
  
      # test feature methods
      # ngrams
      assert (
          self.g2.get_matrix().columns == self.g2._node_features.columns
      ).all()
      assert list(self.g2.get_matrix("what").columns) == what, list(
          self.g2.get_matrix("what").columns
      )
  
      # topic
      assert all(
          self.g3.get_matrix().columns == self.g3._node_features.columns
      )
  
imports: import datetime
  import graphistry
  import logging
  import numpy
  import pandas
  from typing import Any
  import pytest
  import unittest
  import warnings
  from graphistry.feature_utils import process_dirty_dataframes, process_nodes_dataframes, resolve_feature_engine, lazy_import_has_min_dependancy, lazy_import_has_dependancy_text, FastEncoder
  from graphistry.features import topic_model, ngrams_model
  from graphistry.constants import SCALERS
label_desc: Use image node_id 2 for calling the TestFeaturizeGetMethods obj's underlying member method code with example usage: obj.test_get_col_matrix() without return types