code: def test_transform_dbscan(self):
      kind = "nodes"
      g = graphistry.nodes(ndf).edges(edf, "src", "dst")
      g2 = g.umap(y="label", n_topics=2, kind=kind).dbscan(
          fit_umap_embedding=True
      )
  
      _, _, _, df = g2.transform_dbscan(
          ndf, kind=kind, verbose=True, return_graph=False
      )
      self.assertTrue(
          DBSCAN in df, f"transformed df has no `{DBSCAN}` attribute"
      )
  
      g3 = g2.transform_dbscan(ndf, ndf, verbose=True)
      self._condition(g3, kind)
  
file_path: pygraphistry/graphistry/tests/test_compute_cluster.py
imports: import pandas
  import unittest
  import pytest
  import graphistry
  from graphistry.constants import DBSCAN
  from graphistry.util import ModelDict
  from graphistry.compute.cluster import lazy_dbscan_import_has_dependency
label_desc: Use image node_id 5 for calling the TestComputeCluster obj's underlying member method code with example usage: obj.test_transform_dbscan() without return types