I have a simple csv file which has a header row and n amount of rows below it like this. Each row has two columns:
The amount of rows can differ but the “parameter” column’s values are always constant.
How can I read for example the value of “birthday” (which would be 07.10.1959 in this example) into a variable from this csv file? I have found some examples which are using the for each loop but I guess there could be some more powerful method which can directly point into this value? Or is there?
In real life I have hundreds of these csv files and they are quite long. Then I have very complex processes for the robots which are reading these csv files and getting some parameters for the robot during the process. The idea is to store parameters into these csv files and I or someone else could change the parameters to csv without changing the robot’s workflow. If I would use the for each loop for reading these files it would defenately strain the robot for no reason.