Module: (Python) Processing data in a loop. Anchoring