Correlating stock returns in python
Question
You are given the following dataset, containing closing stock prices for a number of large publicly traded companies. Using this, find the Pearson correlation coefficient for the returns of each pair of equities, and plot a correlation matrix.