title: Convert int32 to int8 with numpy view
body: <p>I tried to view a numpy int32 array as int8 type.</p>
  
  <pre><code>&gt;&gt;&gt; a = np.array([1, 2, 3, 4], dtype='int32')
  &gt;&gt;&gt; a
  array([1, 2, 3, 4], dtype=int32)
  &gt;&gt;&gt; a.view('int8')
  array([1, 0, 0, 0, 2, 0, 0, 0, 3, 0, 0, 0, 4, 0, 0, 0], dtype=int8)
  </code></pre>
  
  <p>I expect to convert 1 to [0, 0, 0, 1], but why it turns out to be [1, 0, 0, 0]? Is this related to how the number is stored in memory?</p>
  
  <p>Thanks.</p>