I have a text file like this:
As you can notice some values are missing data and the file contains some fields with a string with spaces.
I need an output like the following:
When missing data just leave the field blank. Also do not put a comma between the words "No" and "Presento". Is there a way to delimit and separate with comma each field according to a certain length? Here each field has a certain length but I don't know how to convert it to a dataframe.
I remember do something like this in bash with the function substr().
Any idea?
Sorry about my english. Thank you in advance!



