You will ask the table of the first 20 elements three questions: which elements are alkali metals, how period 3 lines up by size, and what each ionisation enthalpy is in electron volts.
The idea. A filter is df[condition], with conditions joined by & in brackets. sort_values sorts, and a computed column is one line.
Your tasks.
alkali to the list of symbols in group 1, without hydrogen.period3 to the symbols of period 3 that have a radius, smallest atom first.ie_eV: the ionisation enthalpy divided by , rounded to two places.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…