code: def prepare_dataset(dataset_folder, dataset, nrows):
      if not os.path.exists(dataset_folder):
          os.makedirs(dataset_folder)
      prepare_function = globals()["prepare_" + dataset]
      return prepare_function(dataset_folder, nrows)
  
imports: import os
  from enum import Enum
  import pandas
  import pickle
  import numpy
  from sklearn.model_selection import train_test_split
  from sklearn.datasets import load_svmlight_file
  from urllib.request import urlretrieve
label_desc: Use image node_id 1 for calling a global function with example usage: prepare_dataset(dataset_folder, dataset, nrows) and returns: prepare_function