PyDocs

Nav

File Formats

Sniffer

csv

class (source)
"Sniffs" the format of a CSV file (i.e. delimiter, quotechar)
Returns a Dialect object.
Members of Sniffer

h

has_header
Analyze the sample text (presumed to be in CSV format) and return True if the first row appears to be a series of column headers.

p

preferred
The list of the delimiters preferred for breaking ties, in the order of preference.

s

sniff
Returns a dialect (or None) corresponding to the sample
0 Examples
No examples for csv/Sniffer.
See Also
No see-alsos for csv/Sniffer
0 Notes
No notes for Sniffer