Introduction
Of several programming paradigms, functional programming (FP) fits data science very nicely. The core concept in functional programming is a function, hence the name functional programming. Each function takes data as input and returns a modified version of that data. For example, the mean function takes a series of numbers and returns the mean of those numbers. Core in this context is that the function has no side effects, i.e. the outcome of the function does not change the state outside the function, nor is the outcome influenced by that outside state. This makes FP functions very predictable: given a certain input, the output is always the same.

#closures-functions #data-science #code-architecture #functional-programming #jupyter-notebook

Building Code Architectures With Function…
1.10 GEEK