2 ms·
I also like to chain functions in sequence like this, I use the toolz library to do it in Python. https://toolz.readthedocs.io/en/latest/api.html#toolz.functoo
by laminatedsmore 6y ago
I also like to chain functions in sequence like this, I use the toolz library to do it in Python.
https://toolz.readthedocs.io/en/latest/api.html#toolz.functoolz.pipe https://toolz.readthedocs.io/en/latest/api.html#toolz.functo...
"I.e. pipe(data, f, g, h) is equivalent to h(g(f(data)))"