Which class in the csv module reads rows as dictionaries in Python?
Correct answer
D. csv.DictReader
6 views
D. csv.DictReader
6 views
DictReader uses the header row as keys.
Asked in: Python Interview Standard Library
https://docs.python.org/3/library/index.htmlNot sure why the answer is D? Ask here and get an explanation.