code: def test_named_array_multi_first(self):
      a = named_array.NamedNumpyArray(
          [[1, 3], [6, 8]], [["a", "b"], None]
      )
      self.assertArrayEqual(a.a, [1, 3])
      self.assertArrayEqual(a[1], [6, 8])
      self.assertArrayEqual(a["b"], [6, 8])
      self.assertArrayEqual(a[::-1], [[6, 8], [1, 3]])
      self.assertArrayEqual(a[::-1][::-1], [[1, 3], [6, 8]])
      self.assertArrayEqual(a[::-1, ::-1], [[8, 6], [3, 1]])
      self.assertArrayEqual(a[::-1][0], [6, 8])
      self.assertArrayEqual(a[::-1, 0], [6, 1])
      self.assertArrayEqual(a[::-1, 1], [8, 3])
      self.assertArrayEqual(a[::-1].a, [1, 3])
      self.assertArrayEqual(a[::-1].a[0], 1)
      self.assertArrayEqual(a[::-1].b, [6, 8])
      self.assertArrayEqual(a[[0, 0]], [[1, 3], [1, 3]])
      with self.assertRaises(TypeError):
          a[[0, 0]].a  # pylint: disable=pointless-statement
      self.assertEqual(a[0, 1], 3)
      self.assertEqual(a[(0, 1)], 3)
      self.assertEqual(a["a", 0], 1)
      self.assertEqual(a["b", 0], 6)
      self.assertEqual(a["b", 1], 8)
      self.assertEqual(a.a[0], 1)
      self.assertArrayEqual(a[a > 2], [3, 6, 8])
      self.assertArrayEqual(a[a % 3 == 0], [3, 6])
      with self.assertRaises(TypeError):
          a[0].a  # pylint: disable=pointless-statement
  
      # New axis = None
      self.assertArrayEqual(a, [[1, 3], [6, 8]])
      self.assertArrayEqual(a[np.newaxis], [[[1, 3], [6, 8]]])
      self.assertArrayEqual(a[None], [[[1, 3], [6, 8]]])
      self.assertArrayEqual(a[None, :], [[[1, 3], [6, 8]]])
      self.assertArrayEqual(a[None, "a"], [[1, 3]])
      self.assertArrayEqual(a[:, None], [[[1, 3]], [[6, 8]]])
      self.assertArrayEqual(a[None, :, None], [[[[1, 3]], [[6, 8]]]])
      self.assertArrayEqual(a[None, 0, None], [[[1, 3]]])
      self.assertArrayEqual(a[None, "a", None], [[[1, 3]]])
      self.assertArrayEqual(a[None][None], [[[[1, 3], [6, 8]]]])
      self.assertArrayEqual(a[None][0], [[1, 3], [6, 8]])
      self.assertArrayEqual(a[None][0].a, [1, 3])
      self.assertEqual(a[None][0].a[0], 1)
      self.assertEqual(a[None][0, "b", 1], 8)
  
imports: import collections
  import enum
  import pickle
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from pysc2.lib import named_array
label_desc: Use image node_id 5 for calling the NamedArrayTest obj's underlying member method code with example usage: obj.test_named_array_multi_first() without return types