Hello, I'm trying to loop through a column of my DataFrame and return the row amount of it giving a limit to go through to 'Prov'
I'm using for for looping through the column and using while to return line values, but this one giving error for being str what I could do to return those values, I do not know if it was clear but if anyone can give this help thank you
insert the image description here