Below, I’ve embedded a Python Jupyter Notebook hosted on Kyso, which is a hub where you, “can publish Jupyter notebooks, charts, code, datasets and write articles in our custom markdown editor.” This is a work in progress while I teach myself Python (here is the original Kyso post, nmmichalak/python_selfteach).
Key takeaway FiveThirtyEight claims that early national primary polls can become more useful for predicting party nomination success if one takes candidate name recognition into account. But so few low-name recognition candidates have won their party’s nomination that you cannot reasonably predict whether a low-name recognition candidate will win their party’s nomination over a high-name recognition candidate, no matter their national polling averages. You can better predict nomination success using early national polling averages only, and you can make an even more informed prediction if you take political party into account.