We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d636cf commit 1f0b25eCopy full SHA for 1f0b25e
1 file changed
Lib/csv.py
@@ -388,6 +388,7 @@ def _guess_delimiter(self, data, delimiters):
388
count = line.count(char)
389
charFrequency[char][count] += 1
390
391
+ # must count even if frequency is 0
392
missing_chars = ascii.difference(candidate_chars)
393
chunk_len = len(chunk)
394
for char in missing_chars:
0 commit comments