Question: how to find relation between two columns in pandas?
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)