code: def load_titanic():
      """Load titanic dataset.
  
      Returns
      -------
      data : DataFrame
          DataFrame containing the titanic dataset.
      """
      module_path = dirname(__file__)
      return pd.read_csv(join(module_path, "titanic.csv"))
  
imports: import pandas
  from os.path import dirname, join
label_desc: Use image node_id 2 for calling a global function with example usage: load_titanic() and returns: pd