title: simplify a loop in python
body: <p>I am using this loop in my python code:</p>
  
  <pre><code>final_fun=[]
  for i_base in xrange(n_base):
    final_fun.append(sum(fun[:,i_base])/n_ci)
  </code></pre>
  
  <p>and I would want to know how I can simplify this loop? If I simplify this loop will my program be faster? In general I know how to simplify this but here I am blocked by the append!</p>