some thoughts
looking at the sample data, it looks like separator is asterisk.
don't think pandas will be much help here. you will need to parse lines yourself
If I understand correctly, depending on first segment, you will know what rest of the segments on that line mean.
Probably you may use a namedtuple or write your own class.
by the way, depending where the data comes from there is chance that a library exists to help parse it.
looking at the sample data, it looks like separator is asterisk.
don't think pandas will be much help here. you will need to parse lines yourself
If I understand correctly, depending on first segment, you will know what rest of the segments on that line mean.
Probably you may use a namedtuple or write your own class.
by the way, depending where the data comes from there is chance that a library exists to help parse it.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs