def _from_factorized(cls, values, original): values, mask = coerce_to_array(values, dtype=original.dtype) return cls(values, mask)
def _from_sequence(cls, scalars, *, dtype=None, copy=False): values, mask = coerce_to_array(scalars, dtype=dtype, copy=copy) return IntegerArrayNoCopy(values, mask)
def _from_sequence(cls, scalars, dtype=None, copy=False): values, mask = coerce_to_array(scalars, dtype=dtype, copy=copy) return cls(values, mask)