code: def load_saved_df(path: str) -> Union[pd.DataFrame, None]:
      """
      Loads a pandas DataFrame that was saved using pd.to_csv method.
  
      Parameters
      ----------
      path : str
          Path to the dataframe object
  
      Returns
      -------
      pd.DataFrame or None
      """
      if os.path.exists(path):
          return pd.read_csv(path, index_col=0)
  
      else:
          return None
  
file_path: shapash/shapash/report/common.py
imports: from typing import Union, Optional
  from enum import Enum
  from numbers import Number
  import pandas
  import os
  from pandas.api.types import is_string_dtype, is_numeric_dtype, is_bool_dtype
label_desc: Use image node_id 5 for calling a global function with example usage: load_saved_df(path) and returns: pd, None