Skip to content Skip to sidebar Skip to footer

Take Input From One Csv And Write To A Second Csv

i am pulling data from one csv and get 2 different variables that are location in different formats one is for a single floor and the other is for multiple floors. my code to pull

Solution 1:

writerow expects an iterable, and strings are iterated character-by-character. Try :

 writer.writerow([location2])

Post a Comment for "Take Input From One Csv And Write To A Second Csv"