ID EN
CSV

fieldnames

Python 3.11

If not passed as a parameter when creating the object, this attribute is initialized upon first access or when the first record is read from the file.

Syntax

PYTHON
DictReader.fieldnames