[Numpy-discussion] packbits / unpackbits bugs or misfeatures?
Thu Aug 7 15:28:21 CDT 2008
numpy.unpackbits has a docstring that states that it returns a boolean
array, but the function instead returns a uint8 array. Should I enter
this in trac as a documentation bug or a functionality bug?
Also, numpy.packbits will not accept a bool-typed array as input (only
scalar-typed arrays) -- should it have this ability, for symmetry with
unpackbits? (Assuming that unpackbits should indeed unpack into bool
More information about the Numpy-discussion