Create data_index variable to point to the index of 'Data Name' table header
Use the data_index value on subsequent build lines
Reason for this change
Previously, the data index is hardcoded to be 2. This will cause an error when the 'Data Index' in the actual csv file is located in any index other than 2. This change enable data_index variable to detect the 'Data Index' position correctly.
Checklist
I have talked to someone about making this change [Y]
This change has been tested or has been approved by a senior member [N]
Changes
Reason for this change
Previously, the data index is hardcoded to be 2. This will cause an error when the 'Data Index' in the actual csv file is located in any index other than 2. This change enable data_index variable to detect the 'Data Index' position correctly.
Checklist