I have a spark dataframe df looking like this:
C1toC1 C1toC2 C1toC3 C2toC1 C2toC2 C2toC3 C3toC1 C3toC2 C3toC3 2 0 6 7 32 3 3