Check out the Jupyter Notebook for explanation and code.
Calculate eigenfactor scores for PubMed journals