Isn't it just supposed to be:
Maybe something like
df = abba.corr(['ENTRIESn_hourly'], ['meanprecipi'])instead of your
df = abba.correlation(['ENTRIESn_hourly'], ['meanprecipi'])But I don't think that's correct usage of corr either, you can see example here: https://stackoverflow.com/questions/4257...wo-columns
Maybe something like
df = abba['ENTRIESn_hourly'].corr(abba['meanprecipi'])