tups = zip(list(range(0, n, step)), list(range(step, n + step, step)))
corr_table = pd.concat([c(*t) for t in tups], axis=1)
Congruency Table in Pandas (Pearson Correlation between each row for every row pair)