code: def sample_data_point(data, n=1):
      indices = np.random.choice(len(data), n)
      return data[indices, :]
  
imports: from operator import attrgetter
  import numpy
  from neupy.utils import format_data
  from neupy.exceptions import StopTraining
  from neupy.algorithms.base import BaseNetwork
  from neupy.core.properties import NumberProperty, ProperFractionProperty, IntProperty
label_desc: Use image node_id 1 for calling a global function with example usage: sample_data_point(data, n) and returns: data