We need to write a script that can look up a video ID and find it's label in the database. The function should read in one of our CSV files, figure out what header rows exists, add a header row ("Label"), and then export all the data to a new CSV file. The only difference between the two files should be that the ("Label") row has been added to the right of the other columns. If a video ID cannot be found, write -1 to that entry in the "Label" field.
We need to write a script that can look up a video ID and find it's label in the database. The function should read in one of our CSV files, figure out what header rows exists, add a header row ("Label"), and then export all the data to a new CSV file. The only difference between the two files should be that the ("Label") row has been added to the right of the other columns. If a video ID cannot be found, write -1 to that entry in the "Label" field.