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.
csv/DictReader.fieldnames
DictReader.fieldnames