missing='' not documented in genfromtxt()

Maybe I am missing something but it does not appear that missing='' is documented although it is shown s an argument ? genfromtxt(fname, dtype=float, comments='#', delimiter=None, skiprows=0, skip_header=0, skip_footer=0, converters=None, missing='', missing_values=None, filling_values=None, usecols=None, names=None, excludelist=None, deletechars=None, autostrip=False, case_sensitive=True, defaultfmt="f%i", unpack=None, usemask=False, loose=True, invalid_raise=True):

On May 13, 2010, at 11:06 PM, Vincent Davis wrote:
Maybe I am missing something but it does not appear that missing='' is documented although it is shown s an argument ?
Because the use of `missing` is deprecated (try to use anything but '' for missing, and you'll get a deprecation warning). Use `missing_values` instead.

Because the use of `missing` is deprecated (try to use anything but '' for missing, and you'll get a deprecation warning). Use `missing_values` instead.
I wasn't using 'missing' but was wondering what it did. @Pierre, Stéfan van der Walt suggested that genfromtxt was your baby :) Anyway I have a bug reported for genfromtxt with the fix Stéfan used on recfromcsv, I have thought about addressing it but was giving you a chance, but I didn't know who "you" where, http://projects.scipy.org/numpy/ticket/1473 Thanks Vincent On Thu, May 13, 2010 at 9:33 PM, Pierre GM <pgmdevlist@gmail.com> wrote:
On May 13, 2010, at 11:06 PM, Vincent Davis wrote:
Maybe I am missing something but it does not appear that missing='' is documented although it is shown s an argument ?
Because the use of `missing` is deprecated (try to use anything but '' for missing, and you'll get a deprecation warning). Use `missing_values` instead. _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

On May 13, 2010, at 11:51 PM, Vincent Davis wrote:
Because the use of `missing` is deprecated (try to use anything but '' for missing, and you'll get a deprecation warning). Use `missing_values` instead.
I wasn't using 'missing' but was wondering what it did.
@Pierre, Stéfan van der Walt suggested that genfromtxt was your baby :)
I'd say *creature* ;). Initially, it's a rip-off from an equivalent function in matplotlib (props to John D. Hunter for the original), but it got reorganized and patched over the months...
Anyway I have a bug reported for genfromtxt with the fix Stéfan used on recfromcsv, I have thought about addressing it but was giving you a chance, but I didn't know who "you" where,
I followed the discussion on pystatmodels from a distance. The explanation that was given on why you get a IOError looks like the correct one indeed, but I'll investigate that further on that this week-end...
participants (2)
-
Pierre GM
-
Vincent Davis