title: How can I iterate through numpy 3d array
body: <p>So I have an array:</p>
  
  <pre><code>array([[[27, 27, 28],
          [27, 14, 28]],
  
         [[14,  5,  4],
          [ 5,  6, 14]]])
  </code></pre>
  
  <p>How can I iterate through it and on each iteration get the [a, b, c] values, I try like that:</p>
  
  <pre><code>for v in np.nditer(a):
      print(v)
  </code></pre>
  
  <p>but it just prints</p>
  
  <pre><code>27
  27
  28
  27
  14
  28
  14
  5
  4
  5
  6
  </code></pre>
  
  <p>I need:</p>
  
  <pre><code>[27 27 28]
  [27 14 28]...
  </code></pre>