I have a malformed tab delimited csv file
Name AA BB CC AA BB CC
XX5 2 7 8b
YY4 2 6 2
ZZ3 8 21 9
RR2 1 2 6
SS1 6 7 23
It should be like this
Name AA BB CC
XX5 2 7 8b
YY4 2 6 2
ZZ3 8 21 9
RR2 1 2 6
SS1 6 7 23
I can't do this manually because there are way too many rows. Is there an algorithm that can automate this?
the first row is the header.
This is just an example the actual file has 50 columns and over 10000 rows