docstr: Convert an iterable of node IDs to an iterable of node keys.
docstr_tok: ["Convert","an","iterable","of","node","IDs","to","an","iterable","of","node","keys","."]
code: def _nodeiter_to_iter(
      self, node_ids: Iterable[IndexValue]
  ) -> Iterable[NodeKey]:
      """Convert an iterable of node IDs to an iterable of node keys."""
      if (id_to_key := self.id_to_key) is not None:
          return map(id_to_key.__getitem__, node_ids)
      return node_ids
  
imports: from __future__ import annotations
  import operator
  from copy import deepcopy
  from typing import TYPE_CHECKING
  import cupy
  import networkx
  import numpy
  import pylibcugraph
  import nx_cugraph
  from ..utils import index_dtype
label_desc: Use image node_id 39 for calling the Graph obj's underlying member method code with example usage: obj._nodeiter_to_iter(node_ids) and returns: node_ids, map