title: Cython: cimport and import numpy as (both) np
body: <p>In the <a href="http://docs.cython.org/src/tutorial/numpy.html#adding-types">tutorial</a> of the Cython documentation, there are cimport and import statements of numpy module:</p>
  
  <pre><code>import numpy as np
  cimport numpy as np
  </code></pre>
  
  <p>I found this convention is quite popular among numpy/cython users.</p>
  
  <p>This looks strange for me because they are <strong>both</strong> named as <strong>np</strong>.
  In which part of the code, imported/cimported np are used?
  Why cython compiler does not confuse them?</p>