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