code: def log_artifact(self, file, type=None):
      file_name, extension = None, ""
      file_pathlib = Path(file)
      file_name = (
          file_pathlib.stem.replace(" ", "_") + str(uuid.uuid1())[:8]
      )
      extension = file_pathlib.suffix
      art = wandb.Artifact(name=file_name, type=type or "exp_data")
      art.add_file(file)
      self.run.log_artifact(art)
  
      if extension == "html":
          self.run.log({file_name: wandb.Html(file)})
      elif extension == "csv":
          self.run.log({file_name: pd.read_csv(file)})
  
file_path: pycaret/pycaret/loggers/wandb_logger.py
imports: import os
  import uuid
  from copy import deepcopy
  from pathlib import Path
  import pandas
  from pycaret.loggers.base_logger import BaseLogger
label_desc: Use image node_id 5 for calling the WandbLogger obj's underlying member method code with example usage: obj.log_artifact(file, type) without return types