how to preserve white space when joining an array python

Solutions on MaxInterview for how to preserve white space when joining an array python by the best coders in the world

showing results for - "how to preserve white space when joining an array python"
Torin
08 Jan 2018
1>>> re.split(r'(\s+)', your_arr_name)
2['BBP1', '   ', '0.000000', '  ', '-0.150000', '    ', '2.033000', '  ', '0.00', ' ', '-0.150', '   ', '1.77']
3