QUOTE_NONE means the value for the quoting parameter, not for quotechar .
The correct way is to use
taxiDataReader = csv.reader(csvfile, delimiter=',', quoting=csv.QUOTE_NONE)
The state of the docs that quotechar should always be a single-character string, its role is simply to choose which character to use to quote.
Citation becomes necessary in various situations, for example
- if the CSV field contains a separator character (for example, a comma)
- if the CSV field contains string characters.
In both cases, the CSV reader should be aware that these characters are denoted by literal characters, and not as control characters. So, if you want to put the values [1, "hello", "1,2,3", "hi\nthere"] in a CSV file, it would be nice if the result were
1,hello,1,2,3,hi there
is not it? Therefore, these fields are cited:
1,hello,"1,2,3","hi\nthere"
quoting controls what will be indicated when (by default QUOTE_MINIMAL used, i.e. only when quotes are absolutely necessary). If you completely disable quoting ( QUOTE_NONE ), the quotechar value quotechar , of course, pointless.