code: def test_rename():
      tf2 = tf.rename({"a": "target"}, b="feat")
  
      assert tf2.columns.keys() == {"a", "b"}
  
      tf2 = tf.rename_static({"x": "static"})
      assert tf2.static.keys() == {"x"}
  
      tf2 = tf.rename_static(x="static")
      assert tf2.static.keys() == {"x"}
  
file_path: gluonts/test/zebras/test_timeframe.py
imports: import pytest
  import numpy
  import gluonts.zebras
label_desc: Use image node_id 8 for calling a global function with example usage: test_rename() without return types