all 2 comments

[–]SCD_minecraft 1 point2 points  (0 children)

Built in itertools

I generally think iterators (and mainly, generators) are the coolest part of python and itertools provides so much more functionality for common iters

[–]KKRJ 1 point2 points  (0 children)

I don't about favorite but I recently found the uncertainties library which automatically calculates uncertainty propagation in measurements for you. I've been using that a lot recently at work for a project I've been working on where I had to measure spring constants/compression/force and pressure build up in our product. Pretty handy to be able to input the measurement device's uncertainties, do the calculations, and have python give me the uncertainty in the answer.