I have a file like this:
ID LHW dms
1 105.28 1
2 357.01 0
3 150.23 3
My question is if it is possible to get one column value based on the headline? I can of course get LHW
by its column position, 2, but I would like to get it by just reading LHW
.
The reason for this is that I have two large data sets (about 50 000 rows x 80 columns
) with the same variables, but in different positions. If I could get the right column value based on its headline, it would save a lot of programming time.
Thanks in advance!