title: Read ints from .txt file into numpy array
body: <p>I'm tring to read 4 ints from simple .txt array as described in this question
  <a href="https://stackoverflow.com/questions/32255001/genfromtxt-read-ints-from-space-separate-txt-file">genfromtxt : read ints from space separated .txt file</a></p>
  
  <p>but I want it as 2D numpy array.</p>
  
  <pre><code>def read_data():
      data = np.genfromtxt('Skin_NonSkin.txt', dtype=(int, int, int, int))
  
      print type(data)
      print data.shape
      print data[0]
      print type(data[0])
      print data[0].shape
      print data[0][1]
  
      return data
  </code></pre>
  
  <p>it gives me </p>
  
  <pre><code>&lt;type 'numpy.ndarray'&gt;
  (245057L,)
  (74, 85, 123, 1)
  &lt;type 'numpy.void'&gt;
  ()
  85
  </code></pre>
  
  <p>So how to properly read the data or convert it to 2D nampy array with shape (245057,4)?</p>