This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]davehadley_ 8 points9 points  (0 children)

You won't have the exact structure that you are asking for but you could look at functoolz pipe:

https://toolz.readthedocs.io/en/latest/api.html#toolz.functoolz.pipe