I have a dataframe with a column and a certain number of rows that varies. What I'm working on are 17. In each line there is a different expression, more or less similar to "ID 123456, color = blue".
I would like to add to each of the lines a word that helps me identify each of these lines. I would need something of the type cod1, cod2, cod3 etc. It turns out that as I said before, the amount of lines changes regularly. So in this case there are 17 lines, but they can be more or less. Therefore, you would need the word that identifies each of these lines to fit the number of lines.