Higher-level functions in Python, Part 3 - filter

Posted on June 14, 2018 in Python

In our final installment for the Higher Level Function in Python Series, we dive into the Python filter function. No sidetracks this time around. We simply take a look at how it's used, try to find a way where it would be superior to list comprehensions, fail, and conclude the series.


Continue reading

Higher-level functions in Python, Part 2 - reduce

Posted on June 04, 2018 in Python

We go through uses of the Python reduce function, when it's useful and its performance benefits. This time, we spend some time exploring function composition, and how to manage large function chains, e.g. in a data processing pipeline.


Continue reading

Higher-level functions in Python, Part 1 - map

Posted on May 30, 2018 in Python

We go through uses of the Python map function, when it's useful and its performance benefits, and get sidetracked into benchmarking different syntaxes for exponential expressions.


Continue reading

Introduction to the Python Scientific Ecosystem, Part 2

Posted on August 10, 2017 in Python

A general primer on Python for science and engineering, with an emphasis on the SciPy ecosystem of packages.


Continue reading

Introduction to the Python Scientific Ecosystem, Part 1

Posted on August 03, 2017 in Python

A general primer on Python for science and engineering, with an emphasis on the SciPy ecosystem of packages.


Continue reading