Loop over the CSV and generate dataframe We are looping over the CSV file process the CSV and store the result into string variable .