docstr: Returns a table of experiment logs. Only works when ``log_experiment``
  is True when initializing the ``setup`` function.
  
  
  Example
  -------
  >>> from pycaret.datasets import get_data
  >>> boston = get_data('boston')
  >>> from pycaret.regression import *
  >>> exp_name = setup(data = boston,  target = 'medv', log_experiment = True)
  >>> best = compare_models()
  >>> exp_logs = get_logs()
  
  
  experiment_name: str, default = None
      When None current active run is used.
  
  
  save: bool, default = False
      When set to True, csv file is saved in current working directory.
  
  
  Returns:
      pandas.DataFrame
docstr_tok: ["Returns","a","table","of","experiment","logs",".","Only","works","when","``","log_experiment","``","is","True","when","initializing","the","``","setup","``","function",".","Example","--","--","--","-",">",">",">","from","pycaret.datasets","import","get_data",">",">",">","boston","=","get_data","(","'boston","'",")",">",">",">","from","pycaret.regression","import","*",">",">",">","exp_name","=","setup","(","data","=","boston",",","target","=","'medv","'",",","log_experiment","=","True",")",">",">",">","best","=","compare_models","(",")",">",">",">","exp_logs","=","get_logs","(",")","experiment_name",":","str",",","default","=","None","When","None","current","active","run","is","used",".","save",":","bool",",","default","=","False","When","set","to","True",",","csv","file","is","saved","in","current","working","directory",".","Returns",":","pandas.DataFrame"]
code: def get_logs(
      self, experiment_name: Optional[str] = None, save: bool = False
  ) -> pd.DataFrame:
      """
      Returns a table of experiment logs. Only works when ``log_experiment``
      is True when initializing the ``setup`` function.
  
  
      Example
      -------
      >>> from pycaret.datasets import get_data
      >>> boston = get_data('boston')
      >>> from pycaret.regression import *
      >>> exp_name = setup(data = boston,  target = 'medv', log_experiment = True)
      >>> best = compare_models()
      >>> exp_logs = get_logs()
  
  
      experiment_name: str, default = None
          When None current active run is used.
  
  
      save: bool, default = False
          When set to True, csv file is saved in current working directory.
  
  
      Returns:
          pandas.DataFrame
  
      """
  
      return super().get_logs(
          experiment_name=experiment_name, save=save
      )
  
imports: import logging
  import re
  import time
  from typing import Any, Callable, Dict, List, Optional, Tuple, Union
  import numpy
  import pandas
  from joblib.memory import Memory
  from pycaret.containers.metrics.regression import get_all_metric_containers
  from pycaret.containers.models.regression import ALL_ALLOWED_ENGINES, get_all_model_containers, get_container_default_engines
  from pycaret.internal.display import CommonDisplay
  from pycaret.internal.logging import get_logger
  from pycaret.internal.parallel.parallel_backend import ParallelBackend
  from pycaret.internal.pipeline import Pipeline
  from pycaret.internal.preprocess.preprocessor import Preprocessor
  from pycaret.internal.pycaret_experiment.non_ts_supervised_experiment import _NonTSSupervisedExperiment
  from pycaret.loggers.base_logger import BaseLogger
  from pycaret.utils.constants import DATAFRAME_LIKE, SEQUENCE_LIKE, TARGET_LIKE
  from pycaret.utils.generic import MLUsecase, highlight_setup
label_desc: Use image node_id 25 for calling the RegressionExperiment obj's underlying member method code with example usage: obj.get_logs(experiment_name, save) and returns: super