Which class in the csv module reads rows as dictionaries in Python?
Correct answer
D. csv.DictReader
10 views
D. csv.DictReader
10 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.