Correlation & Plotting - Question 8

Last Updated :
Discuss
Comments

Consider the following DataFrame:

Python
import pandas as pd
df = pd.DataFrame({'A': [1, 2, 3], 'B': [3, 6, 9]})

What is the correlation coefficient between A and B?


0

1

-1

0.5

Tags:
Share your thoughts in the comments