3

I have 23 .csv files named as 0.csv, 1.csv....

I'd like to import those files one by one, perform some manipulation on the data and finally export it as "i+20".csv.

"i" is the variable which in my case goes from 0 to 22.

Ted stinson
  • 31
  • 1
  • 2

1 Answers1

6

Use ToString

Do[
Export[yourPathToFile<>ToString[i+20]<>".csv", yourData[[i]]]
,{i,0,22}
molekyla777
  • 2,888
  • 1
  • 14
  • 28