Consider the following DataFrame:
import pandas as pd df = pd.DataFrame({'A': [1, 2, 3], 'B': [3, 6, 9]})
What is the correlation coefficient between A and B?
A
B
0
1
-1
0.5
This question is part of this quiz :