At the end of chapter 1 notebook, in the 2nd last cell, print("**Pearson** coeffcient: {}".format(sp.stats.spearmanr(df["X"], df["Y"])[0])) should be print("**Spearman** coeffcient: {}".format(sp.stats.spearmanr(df["X"], df["Y"])[0]))
At the end of chapter 1 notebook, in the 2nd last cell,
print("Pearson coeffcient: {}".format(sp.stats.spearmanr(df["X"], df["Y"])[0]))
should be
print("Spearman coeffcient: {}".format(sp.stats.spearmanr(df["X"], df["Y"])[0]))