I have a df and need to extract some info from it, but instead of getting what I want the output is the label of the first column. I want that the loop goes