code: def node_address_to_placement(address):
      """
      Parameters
      ----------
      address : str
          The address of a node. ex: ray://${pg_name}/${bundle_index}
  
      Returns
      -------
      tuple
          A tuple consisting of placement group name, bundle index.
      """
      name, parts = _address_to_placement(address)
      if not parts or len(parts) != 1:
          raise ValueError(
              f"Only bundle index path is allowed in ray address {address} but got {parts}"
          )
      bundle_index = parts[0]
      return name, int(bundle_index)
  
file_path: mars/mars/oscar/backends/ray/utils.py
imports: import asyncio
  import enum
  import logging
  import os
  import posixpath
  from urllib.parse import urlparse, unquote
  from ....utils import lazy_import, lazy_import_on_load
label_desc: Use image node_id 3 for calling a global function with example usage: node_address_to_placement(address) and returns: name,  int