code: def randomize_arrays(array_list):
      # assumes that every array is of the same dimension
      num_rows = array_list[0].shape[0]
      perm = np.random.permutation(num_rows)
      permuted_arrays = []
      for array in array_list:
          permuted_arrays.append(array[perm])
      return permuted_arrays
  
imports: import inspect
  import itertools
  import logging
  import os
  import random
  import tempfile
  from typing import Any, Dict, Iterator, List, Optional, Sequence, Tuple, Union
  import deepchem
  import numpy
  import pandas
  from deepchem.data import Dataset, DiskDataset
  from deepchem.utils import get_print_threshold
label_desc: Use image node_id 1 for calling a global function with example usage: randomize_arrays(array_list) and returns: permuted_arrays