summaryrefslogtreecommitdiff
path: root/numpy/lib/_iotools.py
Commit message (Collapse)AuthorAgeFilesLines
* * fixed 'flatten_dtype' to support fields w/ titles (bug #1591). Thx to ↵pierregm2010-09-131-2/+2
| | | | | | Stefan vdW for the fix. * added a unittest for flatten_dtype
* * add a `replace_space` option to NameValidatorpierregm2010-05-161-3/+10
| | | | * Force a file to be opened in 'U' mode (bug #1473)
* 3K: lib: missing_values in genfromtxt is never a basestring on Py3Pauli Virtanen2010-02-211-1/+1
|
* 3K: lib: more str vs bytes issues in the lib/io loadtxt, savetxt and genfromtxtPauli Virtanen2010-02-201-3/+8
|
* 3K: lib: fix some bytes vs. str issues in _iotools.py and io.py -- mainly ↵Pauli Virtanen2010-02-201-12/+36
| | | | genfromtxt
* 3K: lib: do not slice range() in _iotools needlesslyPauli Virtanen2010-02-201-1/+1
|
* * _iotools.LineSplitter : prevent the first and/or last empty tab-separated ↵pierregm2009-12-081-8/+8
| | | | columns to be dropped
* first set of checkins from the doc editorJarrod Millman2009-11-131-7/+27
|
* * _iotools.StringConverterpierregm2009-10-141-1/+6
| | | | | | | | | | - prevents a `default` of 0 to be overwritten during initialization - allows the `missing_values` to be a comma-separated string * io.genfromtxt - `usecols` can now be a single integer - for `usecols` and `names` to list (for compatibility w/ Python 2.5) - negative values in `usecols` are properly transformed to positive integers - fixed `usecols` with named columns
* * _iotools.StringConverterpierregm2009-10-121-8/+21
| | | | | | | | | | - prevents an explicit default to be overwritten during upgrade * io.genfromtxt - deprecate `skiprows` for `skip_header` - deprecate `missing` for `missing_values` - `missing_values` can now be a sequence - add support for `filling_values` * fixed ticket #1257
* * ma.masked_equal : force the `fill_value` of the output to `value` (ticket ↵pierregm2009-10-091-25/+125
| | | | | | | | | | | | | #1253) * lib._iotools: - NameValidator : add the `nbfields` optional argument to validate - add easy_dtype * lib.io.genfromtxt : - add the `autostrip` optional argument (ticket #1238) - use `invalid_raise=True` as default - use the easy_dtype mechanism (ticket #1252)
* * _iotools.StringConverterpierregm2009-10-061-4/+33
| | | | | | | - use '1' instead of '0' to test the update - add `iterupgrade` to upgrade from an iterator * io.genfromtxt (bug #1212) - use `iterupgrade` to upgrade the converters, and reprocess if there's a problem to catch the offending line
* * Add warnings to genfromtxt describing inconsistencies in the number of ↵pierregm2009-10-051-7/+7
| | | | columns (bug #1212)
* Docstring update: libPauli Virtanen2009-10-021-79/+195
|
* lib._iotools : pierregm2009-05-281-4/+27
| | | | | | | | | | | * add the flatten_base keyword to flatten_dtype lib.io.genfromtxt * Use flatten_dtype(...,flatten_base=True) to deal with fields w/ shape lib.io.loadtxt * fixed for the case when one of the fields is object
* * genfromtxt : Fixed when a dtype involving objects is explicitly given. ↵pierregm2009-02-051-2/+17
| | | | | | Raise a NotImplementedError if the dtype is nested. * _iotools : make sure StringConverter gets properly initiated when a function returning a np.object is used as input parameter.
* * Make sure that StringConverter.update sets the type to object if it can't ↵pierregm2009-02-031-2/+7
| | | | define it.
* * _iotools.StringConverter :pierregm2009-01-261-2/+6
| | | | | | | | - add a _checked attribute to indicate whether the converter has been upgraded or not. - switched the default value for bool to False * io.genfromtxt: - fixed for the case where a whole column is masked: switch to bool or the common dtype (if needed)
* * lib : introduced _iotoolspierregm2009-01-191-0/+469
* lib.io : introduced genfromtxt, ndfromtxt, mafromtxt, recfromtxt, recfromcsv.