code: def load_hr():
      """Load the artificial 'HR' dataset
  
      Datasets 'HR' and 'HR_test' are artificial, generated from the same model.
      Structure of the dataset is based on the real data from the Human Resources
      department containing information about which employees were promoted or fired.
  
      Returns
      -----------
      pd.DataFrame
      """
  
      abs_dir_path = os.path.dirname(os.path.abspath(__file__))
      abs_datasets_path = os.path.join(abs_dir_path, "data", "hr.csv")
  
      dataset = pd.read_csv(
          abs_datasets_path, index_col=0
      )  # use 7847 numbers from 1:n as index
  
      return dataset
  
file_path: DALEX/python/dalex/dalex/datasets/_load.py
imports: import os
  import pandas
label_desc: Use image node_id 7 for calling a global function with example usage: load_hr() and returns: dataset