title: can somebody explain what exactly is going on with python functions?
body: <p>what i know in python is i can write something like this  </p>
  
  <pre><code>blabla = Classname().somefunctions()
  </code></pre>
  
  <p>but in this case both the "np.arange" and "reshape" are functions and it confuses me because  "np.arange" is a function and is treated like a class.   the question is how is this possible??  </p>
  
  <pre><code>import numpy as np  
  a = np.arange(15).reshape(3, 5)
  print(a)
  </code></pre>