Projection Approximation in Python