SciPy - Integration with Scientific Ecosystem
What will be the output of this code snippet?
import pandas as pd
from scipy import stats
df = pd.DataFrame({'A': [1, 2, 3, 4, 5], 'B': [5, 4, 3, 2, 1]})
correlation, p_value = stats.pearsonr(df['A'], df['B'])
print(round(correlation, 2))