Question: how to calculate correlation between two columns in python?
Answer: print(df)
column_1 = df["a"]
column_2 = df["c"]
correlation = column_1. corr(column_2) calculate correlation between `column_1` and `column_2`
print(correlation)