#iteration
Lazy generators and stepping.
- deep_flatten(items)Lazily yield every value from arbitrarily nested iterables, treating strings as values.
- every_nth(items, n)Take every nth item from a sequence, starting with the nth, using a slice.
- daterange(start, end, step)Yield the dates from start up to end, like range() for days, with an optional step.