Suppose you have a DataFrame of numerical values, for example:
df = pd.DataFrame(np.random.randn(1000, 3), columns=['a', 'b', 'c'])
Then
>>> df.corr()
a b c
a 1.000000 0.018602 0.038098
b 0.018602 1.000000 -0.014245
c 0.038098 -0.014245 1.000000...