[issue24787] csv.Sniffer guesses "M" instead of \t or , as the delimiter

Tiago Wright report at bugs.python.org
Thu Aug 6 21:22:47 CEST 2015


Tiago Wright added the comment:

It seems the HTML file did not come through correctly. Trying a text
version, please view this in a monospace font:

        |   Sniffer
                                    |
Human   |   ,   |   ;   |   \t  |   \   |  space|Except |   :   |   )   |
c   |   e   |   M   |   p   |Total  |   %Error
---------------------------------------------------------------------------------------------------------------------------
    ,   |   498 |       |       |   2   |   1   |   10  |       |       |
1   |       |       |       |   512 |   2.7%
    ;   |       |   1   |       |       |       |       |       |       |
    |       |       |       |   1   |   0.0%
    \t  |   3   |       |   922 |       |   6   |   91  |   2   |   1   |
    |       |   2   |   27  |   1054|   12.5%
    |   |       |       |       |   33  |       |       |       |       |
    |       |       |       |   33  |   0.0%
space   |       |       |       |       |   9   |   1   |       |       |
    |   4   |       |       |   14  |   35.7%
---------------------------------------------------------------------------------------------------------------------------
Total   |   501 |   1   |   922 |   35  |   16  |   102 |   2   |   1   |
1   |   4   |   2   |   27  |   1614

On Thu, Aug 6, 2015 at 8:54 AM Tiago Wright <report at bugs.python.org> wrote:

>
> Tiago Wright added the comment:
>
> Table attached.
>
> -Tiago
>
> On Wed, Aug 5, 2015 at 8:14 PM Skip Montanaro <report at bugs.python.org>
> wrote:
>
> >
> > Skip Montanaro added the comment:
> >
> > Tiago, sorry, but your last post with results is completely
> > unintelligible. Can you toss the table in a file and attach it instead?
> >
> > ----------
> >
> > _______________________________________
> > Python tracker <report at bugs.python.org>
> > <http://bugs.python.org/issue24787>
> > _______________________________________
> >
>
> ----------
> Added file: http://bugs.python.org/file40138/csvsniffertest3.htm
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue24787>
> _______________________________________

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24787>
_______________________________________


More information about the Python-bugs-list mailing list