I am looking for a function that takes as input two lists, and returns the Pearson correlation, and the significance of the correlation.

I am looking for a function that takes as input two lists, and returns the Pearson correlation, and the significance of the correlation.