This can just be `else:  # on_missing == 'ignore'` (no need to check since it's implied by the type checking above).