title: Getting the following error..TypeError: data type not understood while using 2D numpy array in python
body: <p>I am using the following code:</p>
  
  <pre><code>import numpy as np
  a = np.array([1,2], [3,4])
  print(a)
  </code></pre>
  
  <p>While executing, i am getting the following error:</p>
  
  <pre><code>TypeError: data type not understood while using 2D numpy array in python
  </code></pre>
  
  <p>What could be the cause of this error?</p>