How can I find Correlation of Series in DataFrame

How can I find the correlation of Series in a dataframe with each other?

In python there is an inbuilt function for this purpose. You can use this to find the correlation between columns or rows.
You have to specify the the correlation type which can be ‘Pearson’ or ‘Spearman’ for instance.