python split string but keep spaces code example
Example: how to preserve white space when joining an array python
>>> re.split(r'(\s+)', your_arr_name)
['BBP1', ' ', '0.000000', ' ', '-0.150000', ' ', '2.033000', ' ', '0.00', ' ', '-0.150', ' ', '1.77']