the below python code works with a pandas dataframe but I was wondering how to make it more efficient.
columns = list(data)
lenn=len(columns)
lenn
i=0
while i<lenn:
    j=i+1
    while j <lenn:
        print(data.iloc[:,i]*data.iloc[:,j])
        #print(data.iloc[:,j])
        j=j+1
    i=i+1