Tag Archives: bit arrays

Using a text editor it was easy to convert the SAS catalog files which come with the WLS to simpler formats to be read by simple programs.

Creating a bit array with the Python Bitarray package will produce a one dimensional array of bits, any number of which can be put in a list to produce a two dimensional thing. I need them transposed. You can transpose an ordinary two dimensional list of lists in one line of code using map and zip. Continue reading →