Stories and Cheat-Sheets

#Numpy

Vectorised Operations

It’s well known that vectorised operations should be preferred in numpy/pandas for reasons of performance. A less common reason is that it actually makes the code easier to read. For a simple example imagine that you are doing a multivariate linear regression to transform an $n$ dimensional …

Vectorised Operations