How to get data in csv file to categorise images in a different folder and save it into another folder

hi, the data are sorted in a csv file according to normal and abnormal, while the images are not categorised yet, how do i code it in such a way that the images will be categorised into a separate folder, normal and abnormal?