title: Function application over numpy's matrix row/column
body: <p>I am using Numpy to store data into matrices. Coming from R background, there has been an extremely simple way to apply a function over row/columns or both of a matrix.</p>
  
  <p>Is there something similar for python/numpy combination? It's not a problem to write my own little implementation but it seems to me that most of the versions I come up with will be significantly less efficient/more memory intensive than any of the existing implementation. </p>
  
  <p>I would like to avoid copying from the numpy matrix to a local variable etc., is that possible?</p>
  
  <p>The functions I am trying to implement are mainly simple comparisons (e.g. how many elements of a certain column are smaller than number x or how many of them have absolute value larger than y).</p>