Five elements of period 5 are in a table. What does this print? import pandas as pd; df = pd.DataFrame({"sym": ["Rb", "Sr", "In", "Sn", "I"], "block": ["s", "s", "p", "p", "p"], "ie": [403, 549, 558, 709, 1008]}); print(df.set_index("sym").loc["In", "ie"])
Log in to join the discussion.
Loading…