Staging: this is not the live site, pydocs.org.
"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