code: def setUp(self):
      g = graphistry.nodes(ndf_reddit)
      g_with_edges = graphistry.nodes(edge_df, "src").edges(
          edge_df, "src", "dst"
      )
  
      with warnings.catch_warnings():
          warnings.filterwarnings("ignore", category=UserWarning)
          warnings.filterwarnings("ignore", category=DeprecationWarning)
          warnings.filterwarnings("ignore", category=FutureWarning)
          g2 = g.umap(
              X=["title", "document"],
              use_ngrams=True,
              ngram_range=(1, 2),
          )
  
          g3 = g.umap(X=["title"], use_ngrams=False, min_words=2)
  
          # here we just featurize since edges are given
          g4 = g_with_edges.featurize(
              X=["textual"], use_ngrams=False, min_words=1.1
          )
  
      self.g_ngrams = g2
      self.g_emb = g3
      self.g_with_edges = g4
  
file_path: pygraphistry/graphistry/tests/test_text_utils.py
imports: import pytest
  import unittest
  import warnings
  import graphistry
  import logging
  import numpy
  import pandas
  from graphistry.feature_utils import remove_internal_namespace_if_present
  from graphistry.tests.test_feature_utils import ndf_reddit, edge_df, lazy_import_has_min_dependancy
  from graphistry.umap_utils import lazy_umap_import_has_dependancy
label_desc: Use image node_id 1 for calling the TestTextSearch obj's underlying member method code with example usage: obj.setUp() without return types