This could be accomplished with:
        for k, pair in enumerate(zip(self.partial_i, self.partial_j)):
                partial_ij_to_data[pair] = k

If I am understanding the code. Again i, j could be more descriptive.