def strip_hydrogen(atoms, bonds):
    """
    Remove hydrogens from the atom and bond tables.
    """

    atoms = atoms[atoms['element'] != 'H']

    bonds = bonds[bonds['start'].isin(atoms['atom']) &
                  bonds['end'].isin(atoms['atom'])]

    return (atoms, bonds)