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 149938a commit 4b22c77Copy full SHA for 4b22c77
Lib/csv.py
@@ -446,7 +446,8 @@ def has_header(self, sample):
446
447
# special case when all columns are strings and columnTypes has been emptied
448
if not columnTypes and col_are_strings and columns > 0:
449
- # If there are only columns of strings and no column types specified, we update the dictionary to store the average length of all strings
+ # If there are only columns of strings and no column types specified,
450
+ # update the dictionary to store the average length of all strings
451
columnTypes[0] = average_size // columns
452
453
for col, colType in columnTypes.items():
0 commit comments