def _can_hold_element(self, element):
dtype = self.values.dtype.type<EOL>tipo = maybe_infer_dtype_type(element)<EOL>if tipo is not None:<EOL><INDENT>return issubclass(tipo.type, dtype)<EOL><DEDENT>return isinstance(element, dtype)<EOL>
require the same dtype as ourselves