In [19]: a = [[3, 2], [1, 4], 3, 4]
In [20]: np.array(a)
Out[20]: array([list([3, 2]), list([1, 4]), 3, 4], dtype=object)
In [21]: np.array(a,dtype=int)
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-21-7fbf08ab72c8> in <module>()
----> 1 np.array(a,dtype=int)
ValueError: setting an array element with a sequence.