class_docstr: Automagic DGL models from Graphistry Instances.
class_docstr_tok: ["Automagic","DGL","models","from","Graphistry","Instances","."]
code: def _prune_edge_target(self):
      if self._edge_target is not None and hasattr(self, "_MASK"):
          self._edge_target = self._edge_target[self._MASK]
  
imports: from collections import Counter
  from typing import Dict, Optional, TYPE_CHECKING, Tuple
  import numpy
  import pandas
  from .None import constants
  from .feature_utils import FeatureEngine, FeatureMixin, resolve_feature_engine, XSymbolic, YSymbolic, resolve_X, resolve_y
  from .util import setup_logger
label_desc: Use image node_id 3 for calling the DGLGraphMixin obj's underlying member method code with example usage: obj._prune_edge_target() without return types