1. 12

  2. 1

    Another exhilarating feature which I like is compress which filters elements from data returning only those that have a corresponding element in selectors that evaluates to True. I use this frequently as a Data Scientist.

    1. 1

      Been partial to toolz (esp the cytoolz implementation) myself.

      1. [Comment removed by moderator pushcx: Removing sockpuppet.]

        1. 2

          Yeah the itertools module is really awesome. One of the best feature is it can be used along with the various methods of operators module as well.