[NumPy-Tickets] [NumPy] #2158: genfromtxt masks non missing data

NumPy Trac numpy-tickets@scipy....
Wed Jun 13 10:44:39 CDT 2012


#2158: genfromtxt masks non missing data
------------------------+---------------------------------------------------
 Reporter:  hoesterlin  |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  numpy.lib   |     Version:  1.6.1      
 Keywords:  genfromtxt  |  
------------------------+---------------------------------------------------
 Under some conditions genfromtxt seems to mask not only missing data, but
 also data that happens to have the value as the filling_values (or its
 default if no filling_values is given).
 While setting the filling_values to an "unlikely" value circumvents this i
 still find it troubling. Oddly, it only appears if I read more than one
 column.
 In the attached example code the -1 (which is the default filling value
 for integers) is masked unnecessarily.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/2158>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list