def data(): values = np.random.randint(0, 2, size=100, dtype=bool) values[1] = ~values[0] return ArrowBoolArray.from_scalars(values)
def data_missing(): return ArrowBoolArray.from_scalars([None, True])
def data_missing(): return ArrowBoolArray._from_sequence([None, True])