I have a dataframe which looks like this,
img
0 6479965c_2019_04_15_20_26_25_90.jpg
1 6479965c_2019_04_15_20_26_25_92.jpg
2 6479965c_2019_04_15_20_26_25_93.jpg
3 6479965c_2019_04_15_20_26_25_96.jpg
4 6479965c_2019_04_15_20_26_26_10.jpg
....
How can I replace each value to,
"foo" + str(counter) + ".jpg"
I iterated,
counter = 1
for i in df['img']:
i = "foo_" + str(counter) + ".jpg"
counter += 1
but it does not work.
.jpg...