I have a series that looks like this:
01 1ABCD E 1 4.011 3.952 7.456 -0.3096 1.0132 0.2794
02 1ABCD F 2 4.088 3.920 7.517 0.3839 -0.5482 -1.3874
...
I want to split it into 10 columns based on the length: the first 4 characters including spaces = column 1, the seconds 5 characters = column 2, ..., the last 8 characters = column10
The result should be something like this:
| column1 | column2 | column3 | .... | column10 |
|---|---|---|---|---|
| 01 1 | ABCD | E | ..... | 0.2794 |
| 02 1 | ABCD | F | .... | -1.3874 |
How can I do this in python?
Thanks
Mehrnoosh