code: def test_ndarray_transposed_slice():
      a = hl.nd.array([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10]])
      np_a = np.array([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10]])
      aT = a.T
      np_aT = np_a.T
      assert_ndarrays_eq(
          (a, np_a),
          (aT[0 : aT.shape[0], 0:5], np_aT[0 : np_aT.shape[0], 0:5]),
      )
  
imports: import math
  import numpy
  import re
  from ..helpers import *
  import pytest
  from hail.utils.java import FatalError, HailUserError
label_desc: Use image node_id 7 for calling a global function with example usage: test_ndarray_transposed_slice() without return types