code: def get_datasets(path):
      train_ds = Dataset(
          os.path.join(path, "preproc/train/*.parquet"),
          part_size="500MB",
      )
      eval_ds = Dataset(
          os.path.join(path, "preproc/eval/*.parquet"),
          part_size="500MB",
      )
      return train_ds, eval_ds
  
file_path: Merlin/tests/integration/examples/quick_start/test_ranking.py
imports: import os
  import tempfile
  import time
  import pytest
  from examples.quick_start.scripts.ranking.ranking import RankingTrainEvalRunner
  from merlin.io.dataset import Dataset
label_desc: Use image node_id 3 for calling a global function with example usage: get_datasets(path) and returns: train_ds,  eval_ds