code: def rename_experiment(experiment_id, new_name):
      """
      Renames an active experiment.
      Returns an error if the experiment is inactive.
      """
      store = _get_store()
      store.rename_experiment(experiment_id, new_name)
      click.echo(
          f"Experiment with id {experiment_id} has been renamed to '{new_name}'."
      )
  
file_path: mlflow/mlflow/experiments.py
imports: import os
  import click
  import mlflow
  from mlflow.entities import ViewType
  from mlflow.tracking import _get_store, fluent
  from mlflow.utils.data_utils import is_uri
  from mlflow.utils.string_utils import _create_table
label_desc: Use image node_id 6 for calling a global function with example usage: rename_experiment(experiment_id, new_name) without return types