code: def remove_metric(name_or_id: str):
      """
      Removes a metric from CV.
  
  
      Example
      -------
      >>> from pycaret.datasets import get_data
      >>> data = get_data('airline')
      >>> from pycaret.time_series import *
      >>> exp_name = setup(data = data, fh = 12)
      >>> remove_metric('MAPE')
  
  
      name_or_id: str
          Display name or ID of the metric.
  
  
      Returns:
          None
  
      """
      return _CURRENT_EXPERIMENT.remove_metric(name_or_id=name_or_id)
  
imports: import logging
  import os
  from typing import TYPE_CHECKING, Any, BinaryIO, Callable, Dict, List, Optional, Tuple, Union
  import numpy
  import pandas
  from pycaret.internal.parallel.parallel_backend import ParallelBackend
  from pycaret.time_series.forecasting.oop import TSForecastingExperiment
  from pycaret.utils.generic import check_if_global_is_not_none
label_desc: Use image node_id 18 for calling a global function with example usage: remove_metric(name_or_id) and returns: _CURRENT_EXPERIMENT