SciPy - Statistical Tests
Identify the error in this code that calculates Spearman correlation:
from scipy.stats import spearmanr x = [1, 2, 3] y = [4, 5] result = spearmanr(x, y) print(result.correlation)
