Python: Mutable default arguments
A python gotcha
Python: Mutable default arguments
A python gotcha
Python: Lambdas as lexical closures
A function that remembers the values from the enclosing lexical scope even when the program flow is no longer in that scope
Python: Lambdas as function expressions
Defining a function inline
Python: Parallel for loops
Using joblib’s Parallel function
Python: Cache function output
Using sklearn.externals.joblib.Memory