8000 genfromtxt reading quoted csv files enhancement (Trac #1615) · Issue #2211 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
genfromtxt reading quoted csv files enhancement (Trac #1615) #2211
Open
@numpy-gitbot

Description

@numpy-gitbot

Original ticket http://projects.scipy.org/numpy/ticket/1615 on 2010-09-15 by trac user alefnula, assigned to unknown.

genfromtxt cannot handle the csv files that use quoting. For example:

"This is my text, that has a comma inside","Other value","3"
"Another text, with coma","More text, with comma",5

This is a csv text where the delimiter is ",", but the values also contain ",".

Here is the pach that enables the user to specify the quoter (the quoting character). The default behaviour is the same as the old behaviour of genfromtxt function, but if the quoter is set, quoting is taken into account.

Patch is in the attachment.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0