My corr() function in Python keeps resulting in an "ValueError: The truth value of a Series is ambiguous..."
You should look at the documentation.  You do not pass the column names as an argument.
subset_df = df[['col1', 'col2']]
subset_df.corr()

That should solve this for you.