예제 #1
0
 def _from_factorized(cls, values, original):
     values, mask = coerce_to_array(values, dtype=original.dtype)
     return cls(values, mask)
예제 #2
0
 def _from_sequence(cls, scalars, *, dtype=None, copy=False):
     values, mask = coerce_to_array(scalars, dtype=dtype, copy=copy)
     return IntegerArrayNoCopy(values, mask)
예제 #3
0
 def _from_sequence(cls, scalars, dtype=None, copy=False):
     values, mask = coerce_to_array(scalars, dtype=dtype, copy=copy)
     return cls(values, mask)