I have a numpy binary array like this:
np_bin_array = [0 1 0 0 1 0 0 0 0 1 1 0 0 1 0 1 0 1 1 0 1 1 0 0 0 1 1 0 1 1 0 0 0 1 1 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
It was 8-bit string characters of a word originally, starting from the left, with 0's padding it out.
I need to convert this back into strings to form the word again and strip the 0's and the output for the above should be 'Hello'.
Thanks for your help!