code: def get_dataset_info(name, root_path):
      DIR = os.path.join(root_path, "pdpbox", "examples", name)
      with open(os.path.join(DIR, f"{name}_info.json"), "r") as fin:
          info = json.load(fin)
  
      df = pd.read_csv(os.path.join(DIR, f"{name}_data.csv"))
      if name == "otto":
          df = (
              df.groupby("target", as_index=False)
              .apply(
                  lambda x: x.sample(min(len(x), 1000), replace=False)
              )
              .reset_index(drop=True)
          )
      elif name == "ross":
          df = df.sample(10000, replace=False).reset_index(drop=True)
  
      dataset = {
          "data": df,
          "model": joblib.load(os.path.join(DIR, f"{name}_model.pkl")),
          "features": info["features"],
          "target": info["target"],
      }
  
      return dataset
  
imports: import pytest
  import joblib
  import os
  import json
  import numpy
  import pandas
  from itertools import product
  import matplotlib
  from abc import ABC, abstractmethod
  import warnings
label_desc: Use image node_id 2 for calling a global function with example usage: get_dataset_info(name, root_path) and returns: dataset