Skip to content

Add method to BitArray for converting to bit array #13396

@kevinsung

Description

@kevinsung

What should we add?

I.e., a Numpy array of bools. Recipe courtesy of @ihincks:

np.unpackbits(bit_array.array, axis=-1)[...,-bit_array.num_bits:]

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions