Optimization of Scientific Code with Cython: Ising Model
Python is quick and easy to code, but can be slow when doing intensive numerical operations. Translating code to Cython can be helpful, but in most cases requires a bit of trial and error to achieve the optimal result.
Python Data Science Handbook by Jake VanderPlas Blog6 min read