Select one answer per question. Submit to see the explanation.
raw = np.array([[0, 1], [1, 0]], dtype=np.uint8) bits = BitArray(raw, num_bits=9)