Skip to main content

element.group()

Get the group number.

Usage

Source

element.group(key)

Parameters

key: int | str
Atomic number or symbol.

Returns

int | None
Group number, or None for lanthanides and actinides.