code: def log_model_comparison(self, model_result, source):
      result_copy = deepcopy(model_result)
      if "Object" in result_copy:
          result_copy["Object"] = result_copy["Object"].apply(
              lambda obj: str(type(obj).__name__)
          )
      self.run.log_table("compare.csv", result_copy)
  
file_path: pycaret/pycaret/loggers/comet_logger.py
imports: from copy import deepcopy
  from pathlib import Path
  import joblib
  from pycaret.loggers.base_logger import BaseLogger
label_desc: Use image node_id 6 for calling the CometLogger obj's underlying member method code with example usage: obj.log_model_comparison(model_result, source) without return types