periodic_table_group

plasmapy.particles.atomic.periodic_table_group(argument: Union[str, numbers.Integral]) → numbers.Integral

Return the periodic table group.

Parameters:argument (str or int) – Atomic number (either integer or string), atomic symbol (e.g., "H", string), or element name (e.g., "francium", string).
Returns:group – The periodic table group of the element.
Return type:int
Raises:TypeError – If the argument is not a str or int.

See also

~plasmapy.particles.periodic_table_period : returns periodic table
period of element.
~plasmapy.particles.periodic_table_block : returns periodic table
block of element.
~plasmapy.particles.periodic_table_category : returns periodic table
category of element.

Examples

>>> periodic_table_group(18)
18
>>> periodic_table_group(24)
6
>>> periodic_table_group("Al")
13
>>> periodic_table_group("neon")
18
>>> periodic_table_group("barium")
2