code: def test_advanced_indexing(self):
      ds = self.ds
      self.assertEqual(ds[[1, 2]], [ds.values[1], ds.values[2]])
      self.assertEqual(ds[[1, 2]], ds[1:3])
      self.assertEqual(ds[[4, 0]], [ds.values[4], ds.values[0]])
      self.assertEqual(ds[[4]], [ds.values[4]])
      self.assertEqual(
          ds[[4, 1, 3, 2, 2, 1]],
          [
              ds.values[4],
              ds.values[1],
              ds.values[3],
              ds.values[2],
              ds.values[2],
              ds.values[1],
          ],
      )
      self.assertEqual(ds[[-2, -1]], [ds.values[-2], ds.values[-1]])
      # test ndarray
      self.assertEqual(ds[numpy.asarray([1, 2, 3])], ds[1:4])
  
file_path: chainer/tests/chainer_tests/dataset_tests/test_dataset_mixin.py
imports: import unittest
  import numpy
  from chainer import dataset
  from chainer import testing
label_desc: Use image node_id 4 for calling the TestDatasetMixin obj's underlying member method code with example usage: obj.test_advanced_indexing() without return types