code: def test_filter_edges(self):
      for kind, g in [("nodes", graphistry.nodes(ndf_reddit))]:
          g2 = g.umap(kind=kind, model_name=model_avg_name)
          last_shape = 0
          for scale in np.linspace(0, 1, 8):  # six sigma in 8 steps
              g3 = g2.filter_weighted_edges(scale=scale)
              shape = g3._edges.shape
              logger.debug("*" * 90)
              logger.debug(
                  f"{kind} -- scale: {scale}: resulting edges dataframe shape: {shape}"
              )
              logger.debug("-" * 80)
              self.assertGreaterEqual(shape[0], last_shape)
              last_shape = shape[0]
  
imports: from xml.sax.handler import feature_external_ges
  import pytest
  import unittest
  import warnings
  import graphistry
  import os
  import logging
  import numpy
  import pandas
  from graphistry import Plottable
  from graphistry.feature_utils import remove_internal_namespace_if_present
  from graphistry.tests.test_feature_utils import ndf_reddit, text_cols_reddit, meta_cols_reddit, good_cols_reddit, single_target_reddit, double_target_reddit, edge_df, edge_df2, edge2_target_df, model_avg_name, lazy_import_has_min_dependancy, check_allclose_fit_transform_on_same_data
  from graphistry.umap_utils import lazy_umap_import_has_dependancy, lazy_cuml_import_has_dependancy, lazy_cudf_import_has_dependancy
label_desc: Use image node_id 7 for calling the TestCUMLMethods obj's underlying member method code with example usage: obj.test_filter_edges() without return types