title: Why 3d doesnt want ddtype?
body: <p>when ı try to create a 2-D array using ndarray if I dont specify ddtype value it gives me error but when trying to create a 3-D one it doesn't why, I mean is there a rule like that?</p>
  <pre><code>import numpy as np
  array=np.array([[1,1,1,1,1,1],[1,1,2,1,1,1,1]])
  
  
  print(array)
  print(array.ravel())
  </code></pre>
  <p>I receive the following error:</p>
  <blockquote>
  <p>c:/Users/fazil/Desktop/yeni metin belgesi.py:2: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray array=np.array([[1,1,1,1,1,1],[1,1,2,1,1,1,1]]) [list([1, 1, 1, 1, 1, 1]) list([1, 1, 2, 1, 1, 1, 1])] [list([1, 1, 1, 1, 1, 1]) list([1, 1, 2, 1, 1, 1, 1])]</p>
  </blockquote>