code: def validate_sampled_data(
      self, original_data, sampled_data, num_requested_samples
  ):
      if original_data.shape[0] > num_requested_samples:
          assert sampled_data.shape[0] == num_requested_samples
      else:
          assert sampled_data.shape[0] == original_data.shape[0]
      assert sampled_data.shape[1] == original_data.shape[1]
      assert isinstance(sampled_data, type(original_data))
  
file_path: responsible-ai-toolbox/raiutils/tests/test_sampling.py
imports: import numpy
  import pandas
  from raiutils.sampling import generate_random_sample
label_desc: Use image node_id 1 for calling the TestRandomSampling obj's underlying member method code with example usage: obj.validate_sampled_data(original_data, sampled_data, num_requested_samples) without return types