8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 608192e commit 9d67b72Copy full SHA for 9d67b72
Doc/library/csv.rst
@@ -156,8 +156,10 @@ The :mod:`csv` module defines the following classes:
156
157
The *fieldnames* parameter is a :term:`sequence`. If *fieldnames* is
158
omitted, the values in the first row of file *f* will be used as the
159
- fieldnames. Regardless of how the fieldnames are determined, the
160
- dictionary preserves their original ordering.
+ fieldnames and will be omitted from the results. If
+ *fieldnames* is provided, they will be used and the first row will be
161
+ included in the results. Regardless of how the fieldnames are determined,
162
+ the dictionary preserves their original ordering.
163
164
If a row has more fields than fieldnames, the remaining data is put in a
165
list and stored with the fieldname specified by *restkey* (which defaults
0 commit comments