[NumPy-Tickets] [NumPy] #1615: genfromtxt reading quoted csv files enhancement
NumPy Trac
numpy-tickets@scipy....
Wed Sep 15 14:24:33 CDT 2010
#1615: genfromtxt reading quoted csv files enhancement
-------------------------+--------------------------------------------------
Reporter: alefnula | Owner: somebody
Type: enhancement | Status: new
Priority: normal | Milestone: Unscheduled
Component: Other | Version: devel
Keywords: |
-------------------------+--------------------------------------------------
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.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1615>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list