Composite indexes for python

DO NO MERGE