title: How to get a numpy array from values of another array (Python)
body: <p>I have the array </p>
  
  <pre><code>[[ 430  780 1900  420][ 0 0 2272 1704]]
  </code></pre>
  
  <p>and needs to convert it into this result: </p>
  
  <pre><code>[[[ 430  780 1] [1900  420 1]] [[ 0  0 1] [2272  1704 1]]]
  </code></pre>
  
  <p>basically turn a 2d array into 3d, separate each array into 2 and append the number 1 to it. How can I achieve it? </p>