Python JSON

Hi Rene and staff,
you don’t talk about CSV with python, so may i ask a question about python with CSV format in this section ?
Example 1: let’s python read a csv file
image

Exemple1 is a string, then apply csv.reader(): you get an object “_csv.reader” but this is not a loop object

Example 2: just open the csv file
image
f is a _io.TextIOWrapper object, then apply csv.reader(): you get an object “_csv.reader” as well, but THIS IS a loop object

I don’t understand why in example 1, a “_csv.reader” object is NOT a loop object, and in example 2, the same object (same class) is a loop object.
So the same object seems to be not consistent as it comes from a string or a _io.TextIOWrapper object.
Could you help me ?
Best regards