Learning Scientific Programming with Python (2nd edition)

P9.2.2: The Oddo–Harkins rule

Question P9.2.2

Wikipedia gives a list of element abundances for the Sun and solar system in an HTML table (amongst other, similar data). Use pandas' read_html method to read in and parse the Kaye and Laby data (column headed "Y1") and plot a bar chart demonstrating Oddo–Harkins rule: that elements with even atomic numbers are more abundant than those with neighboring odd atomic numbers.