code: def generate_concatenated_random_labeled_dataset(
      nrows, nvals, labels, seed=20181219, prng=None
  ):
      if prng is None:
          prng = np.random.RandomState(seed=seed)
      label = prng.choice(labels, [nrows, 1])
      feature = prng.random_sample([nrows, nvals])
      return np.concatenate([label, feature], axis=1)
  
imports: import collections
  import csv
  import json
  import os
  import random
  import shutil
  import sys
  from pandas import read_csv, DataFrame
  from copy import deepcopy
  import numpy
  from catboost.utils import read_cd
label_desc: Use image node_id 3 for calling a global function with example usage: generate_concatenated_random_labeled_dataset(nrows, nvals, labels, seed, prng) and returns: np