Hey everyone,
I have the following data set
A B C D E
F G H I J
K L M N O
P Q R S T
Where every ten lines or so (though not a regular pattern) the data breaks its format and two of the data pieces get lumped together without a tab delimiter. I don't have the code to work with, only the data itself. I'd like to write a code which essentially scans through the set, and when it finds that there is no tab space between two elements, it inserts one and continues.
My initial inkling would be to write all of the elements into a blank array and then scan the array for the absence of a tab character; however, I have no idea how to tell python to scan for a missing character and I also don't know how to tell python to look for a "tab" in general. E.G.: what is the command for a tab, '\t' or something of the like?
Thanks.