title: to show arrays in a row, not in column in jupyter notebook
body: <p>I am using jupyter notebook, this code</p>
  
  <pre><code>A = np.arange(1,7).reshape((2,3))
  B = np.arange(7,13).reshape((3,2))
  print(A,B)
  </code></pre>
  
  <p>outputs</p>
  
  <pre><code>[[1 2 3]
   [4 5 6]] [[ 7  8]
   [ 9 10]
   [11 12]]
  </code></pre>
  
  <p>which is not friendly to check.</p>
  
  <p>Is there a way to have the output look like this</p>
  
  <p><a href="https://i.stack.imgur.com/iq3kM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iq3kM.png" alt="enter image description here"></a></p>
  
  <p>or this</p>
  
  <pre><code>[1 2 3] [7 8]
  [4 5 6] [ 9 10]
          [11 12]
  </code></pre>
  
  <p>the ideal output does not have to be the same as the above, just something like that, to stack the arrays horizontally.</p>
  
  <p>Any advice would be appreciated.</p>