Hi,
Please check below links:
How To Find Respective Column Name of a specific Item in a data table - #5 by aksh1yadav
https://www.uipath.com/kb-articles/how-to-extract-column-headers-in-a-csv-file