code: def test_renamed_columns(nodes, weighted_edges, bundle):
      nodes = nodes.rename(columns={"x": "xx", "y": "yy"})
      edges = weighted_edges.rename(
          columns={"source": "src", "target": "dst", "weight": "w"}
      )
  
      df = bundle(
          nodes,
          edges,
          x="xx",
          y="yy",
          source="src",
          target="dst",
          weight="w",
      )
  
      assert "xx" in df and "x" not in df
      assert "yy" in df and "y" not in df
      assert "w" in df and "weight" not in df
  
file_path: datashader/datashader/tests/test_bundling.py
imports: from __future__ import annotations
  import pytest
  import numpy
  import pandas
  from datashader.bundling import directly_connect_edges, hammer_bundle
  from datashader.layout import circular_layout, forceatlas2_layout, random_layout
label_desc: Use image node_id 5 for calling a global function with example usage: test_renamed_columns(nodes, weighted_edges, bundle) without return types