Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename numpy/lib/io.py to numpy/lib/npyio.py. The py3tool can probably be | Charles Harris | 2010-03-24 | 1 | -1603/+0 |
| | | | | cleaned up a bit more with this change, but that is for later. | ||||
* | WHT: Whitespace removal. | Charles Harris | 2010-02-21 | 1 | -2/+1 |
| | |||||
* | 3K: lib: missing_values in genfromtxt is never a basestring on Py3 | Pauli Virtanen | 2010-02-21 | 1 | -1/+1 |
| | |||||
* | BUG: lib: ensure 'bytes' is imported in io.py | Pauli Virtanen | 2010-02-20 | 1 | -1/+1 |
| | |||||
* | 3K: lib: more str vs bytes issues in the lib/io loadtxt, savetxt and genfromtxt | Pauli Virtanen | 2010-02-20 | 1 | -16/+44 |
| | |||||
* | 3K: lib: fix savetxt | Pauli Virtanen | 2010-02-20 | 1 | -9/+23 |
| | | | | | | This will make savetxt open files in the 'wb' mode on Python 3. To allow using any sort of newlines (which are different e.g. on Windows), add a new 'newline' keyword. | ||||
* | 3K: lib: fix some bytes vs. str issues in _iotools.py and io.py -- mainly ↵ | Pauli Virtanen | 2010-02-20 | 1 | -13/+15 |
| | | | | genfromtxt | ||||
* | 3K: lib: bytes vs. str fixes in lib.format and lib.io | Pauli Virtanen | 2010-02-20 | 1 | -1/+3 |
| | |||||
* | more docstring updates from pydoc website (thanks to everyone who contributed!) | Jarrod Millman | 2010-02-17 | 1 | -24/+42 |
| | |||||
* | np.genfromtxt: make sure we're using the actual names when double-checking ↵ | pierregm | 2010-01-20 | 1 | -1/+2 |
| | | | | for missing values | ||||
* | fixed a whole bunch of doctests | Paul Ivanov | 2009-12-28 | 1 | -8/+9 |
| | |||||
* | 3K: lib: use open instead of file | Pauli Virtanen | 2009-12-06 | 1 | -1/+1 |
| | |||||
* | docs : renamed basic.io.rst and basic.io.genfromtxt to basics.io and ↵ | pierregm | 2009-11-07 | 1 | -22/+12 |
| | | | | | | basics.io.genfromtxt io.genfromtxt : update the doc | ||||
* | * io.genfromtxt : make sure that `names` is a list and not a tuple | pierregm | 2009-10-19 | 1 | -12/+14 |
| | |||||
* | * io.genfromtxt | pierregm | 2009-10-16 | 1 | -2/+2 |
| | | | | - fixed an issue when an explicit dtype has the right size, but the names don't | ||||
* | * io.genfromtxt | pierregm | 2009-10-16 | 1 | -4/+7 |
| | | | | | - `usecols` can now be a comma-separated string - make sure that an explicit name list shorter than an explicit dtype is properly expanded | ||||
* | * _iotools.StringConverter | pierregm | 2009-10-14 | 1 | -12/+36 |
| | | | | | | | | | | - 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 | ||||
* | * io.genfromtxt | pierregm | 2009-10-12 | 1 | -8/+26 |
| | | | | - add `skip_footer` to remove some last lines | ||||
* | * _iotools.StringConverter | pierregm | 2009-10-12 | 1 | -54/+126 |
| | | | | | | | | | | - 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 ↵ | pierregm | 2009-10-09 | 1 | -71/+40 |
| | | | | | | | | | | | | | #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.StringConverter | pierregm | 2009-10-06 | 1 | -10/+30 |
| | | | | | | | - 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 ↵ | pierregm | 2009-10-05 | 1 | -43/+85 |
| | | | | columns (bug #1212) | ||||
* | Docstring update: lib | Pauli Virtanen | 2009-10-02 | 1 | -83/+256 |
| | |||||
* | Add example to savez. | Stefan van der Walt | 2009-07-04 | 1 | -0/+6 |
| | |||||
* | More complete dictionary interface to NpzFile [patch by David Warde-Farley] | Stefan van der Walt | 2009-07-04 | 1 | -0/+21 |
| | |||||
* | Merge from doc wiki | Pauli Virtanen | 2009-06-19 | 1 | -50/+58 |
| | |||||
* | lib._iotools : | pierregm | 2009-05-28 | 1 | -13/+17 |
| | | | | | | | | | | | * 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 | ||||
* | loadtxt: allow shaped dtypes. | Stefan van der Walt | 2009-05-27 | 1 | -1/+4 |
| | |||||
* | Fixed #852: avoid filename clashes in savez, by using a secure temporary ↵ | Pauli Virtanen | 2009-03-30 | 1 | -16/+19 |
| | | | | file name | ||||
* | Merge from the doc wiki | Pauli Virtanen | 2009-03-24 | 1 | -9/+34 |
| | |||||
* | Close file handle in loadtxt if we opened the file ourselves. | David Cournapeau | 2009-03-09 | 1 | -45/+51 |
| | |||||
* | Correctly handle gzip filenames in loadtxt. | Stefan van der Walt | 2009-03-02 | 1 | -0/+3 |
| | |||||
* | Add GzipFile wrapper to support the "whence" keyword in GzipFile.seek. | Stefan van der Walt | 2009-02-22 | 1 | -1/+36 |
| | |||||
* | * genfromtxt : fixed case when using explicit converters and explicit dtype. | pierregm | 2009-02-14 | 1 | -1/+11 |
| | |||||
* | Avoid re-creating the sequence when there is only one field in the regular ↵ | Travis Oliphant | 2009-02-06 | 1 | -4/+9 |
| | | | | expression. | ||||
* | * genfromtxt : Fixed when a dtype involving objects is explicitly given. ↵ | pierregm | 2009-02-05 | 1 | -3/+15 |
| | | | | | | 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. | ||||
* | * _iotools.StringConverter : | pierregm | 2009-01-26 | 1 | -7/+10 |
| | | | | | | | | - 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) | ||||
* | * genfromtxt : if names is True, accept a line starting with a comment ↵ | pierregm | 2009-01-22 | 1 | -1/+8 |
| | | | | character as header. | ||||
* | * lib : introduced _iotools | pierregm | 2009-01-19 | 1 | -6/+470 |
| | | | | * lib.io : introduced genfromtxt, ndfromtxt, mafromtxt, recfromtxt, recfromcsv. | ||||
* | Add bz2 support to loadtxt [patch by Ryan May]. | Stefan van der Walt | 2008-11-29 | 1 | -2/+5 |
| | |||||
* | Identify file object using 'readline', rather than 'seek'. | Stefan van der Walt | 2008-11-29 | 1 | -1/+1 |
| | |||||
* | Add memory map support to `load` [patch by Gael Varoquaux]. Closes #954. | Stefan van der Walt | 2008-11-29 | 1 | -14/+29 |
| | |||||
* | Import documentation from doc wiki (part 2, work-in-progress docstrings, but ↵ | Pauli Virtanen | 2008-10-28 | 1 | -14/+25 |
| | | | | they are still an improvement) | ||||
* | Ignore unused converters in `loadtxt`. | Stefan van der Walt | 2008-09-22 | 1 | -1/+5 |
| | |||||
* | FIX: Loadtxt raises on empty input (closes #908). | Stefan van der Walt | 2008-09-09 | 1 | -4/+6 |
| | |||||
* | Applied patch from R. May fixing ticket #905 (loadtxt). Fixed other bug ↵ | dhuard | 2008-09-05 | 1 | -2/+5 |
| | | | | occurring when both usecols and converters are provided. Added related regression tests. | ||||
* | Merge from documentation editor. | Stefan van der Walt | 2008-08-05 | 1 | -87/+138 |
| | |||||
* | Fix string type comparisons. | Stefan van der Walt | 2008-07-30 | 1 | -4/+4 |
| | |||||
* | Fix doctest command continuation line. | Alan McIntyre | 2008-07-23 | 1 | -1/+1 |
| | |||||
* | Clean up loadtxt. Fix Python 2.3 compatibility. | Stefan van der Walt | 2008-07-22 | 1 | -9/+10 |
| |