summaryrefslogtreecommitdiff
path: root/numpy/lib/io.py
Commit message (Collapse)AuthorAgeFilesLines
* docs : renamed basic.io.rst and basic.io.genfromtxt to basics.io and ↵pierregm2009-11-071-22/+12
| | | | | | basics.io.genfromtxt io.genfromtxt : update the doc
* * io.genfromtxt : make sure that `names` is a list and not a tuplepierregm2009-10-191-12/+14
|
* * io.genfromtxtpierregm2009-10-161-2/+2
| | | | - fixed an issue when an explicit dtype has the right size, but the names don't
* * io.genfromtxtpierregm2009-10-161-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.StringConverterpierregm2009-10-141-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.genfromtxtpierregm2009-10-121-8/+26
| | | | - add `skip_footer` to remove some last lines
* * _iotools.StringConverterpierregm2009-10-121-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 ↵pierregm2009-10-091-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.StringConverterpierregm2009-10-061-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 ↵pierregm2009-10-051-43/+85
| | | | columns (bug #1212)
* Docstring update: libPauli Virtanen2009-10-021-83/+256
|
* Add example to savez.Stefan van der Walt2009-07-041-0/+6
|
* More complete dictionary interface to NpzFile [patch by David Warde-Farley]Stefan van der Walt2009-07-041-0/+21
|
* Merge from doc wikiPauli Virtanen2009-06-191-50/+58
|
* lib._iotools : pierregm2009-05-281-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 Walt2009-05-271-1/+4
|
* Fixed #852: avoid filename clashes in savez, by using a secure temporary ↵Pauli Virtanen2009-03-301-16/+19
| | | | file name
* Merge from the doc wikiPauli Virtanen2009-03-241-9/+34
|
* Close file handle in loadtxt if we opened the file ourselves.David Cournapeau2009-03-091-45/+51
|
* Correctly handle gzip filenames in loadtxt.Stefan van der Walt2009-03-021-0/+3
|
* Add GzipFile wrapper to support the "whence" keyword in GzipFile.seek.Stefan van der Walt2009-02-221-1/+36
|
* * genfromtxt : fixed case when using explicit converters and explicit dtype.pierregm2009-02-141-1/+11
|
* Avoid re-creating the sequence when there is only one field in the regular ↵Travis Oliphant2009-02-061-4/+9
| | | | expression.
* * genfromtxt : Fixed when a dtype involving objects is explicitly given. ↵pierregm2009-02-051-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 :pierregm2009-01-261-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 ↵pierregm2009-01-221-1/+8
| | | | character as header.
* * lib : introduced _iotoolspierregm2009-01-191-6/+470
| | | | * lib.io : introduced genfromtxt, ndfromtxt, mafromtxt, recfromtxt, recfromcsv.
* Add bz2 support to loadtxt [patch by Ryan May].Stefan van der Walt2008-11-291-2/+5
|
* Identify file object using 'readline', rather than 'seek'.Stefan van der Walt2008-11-291-1/+1
|
* Add memory map support to `load` [patch by Gael Varoquaux]. Closes #954.Stefan van der Walt2008-11-291-14/+29
|
* Import documentation from doc wiki (part 2, work-in-progress docstrings, but ↵Pauli Virtanen2008-10-281-14/+25
| | | | they are still an improvement)
* Ignore unused converters in `loadtxt`.Stefan van der Walt2008-09-221-1/+5
|
* FIX: Loadtxt raises on empty input (closes #908).Stefan van der Walt2008-09-091-4/+6
|
* Applied patch from R. May fixing ticket #905 (loadtxt). Fixed other bug ↵dhuard2008-09-051-2/+5
| | | | occurring when both usecols and converters are provided. Added related regression tests.
* Merge from documentation editor.Stefan van der Walt2008-08-051-87/+138
|
* Fix string type comparisons.Stefan van der Walt2008-07-301-4/+4
|
* Fix doctest command continuation line.Alan McIntyre2008-07-231-1/+1
|
* Clean up loadtxt. Fix Python 2.3 compatibility.Stefan van der Walt2008-07-221-9/+10
|
* Apply Stefan's patch for Ryan's loadtext fix.Charles Harris2008-07-221-34/+78
|
* Committed patch from Ryan May. It fixes error in loadtxt occurring when ↵dhuard2008-07-221-2/+6
| | | | | | usecols is not None and dtypes are given. I added the test suggested by Ryan.
* Use the implicit "import numpy as np" made available to all doctests instead Alan McIntyre2008-07-051-3/+3
| | | | | of explicit imports or dependency on the local scope where the doctest is defined..
* Restore change to docstring overwritten by wiki merge.Stefan van der Walt2008-05-141-2/+2
|
* Merge docstrings from wiki.Stefan van der Walt2008-05-141-8/+11
|
* Fix ticket #791.Travis Oliphant2008-05-131-2/+2
|
* Add comments to savetxt.Stefan van der Walt2008-04-281-4/+10
|
* Support for multi formatting elements in savetxt [patch by David Huard].Stefan van der Walt2008-04-281-40/+60
| | | | Closes #663.
* ran reindent in preparation for the 1.1 releaseJarrod Millman2008-04-201-31/+30
|
* Don't require gzip or bz2 until the actual functionality is requested.Robert Kern2008-04-171-1/+7
|
* Added and fixed some tests for loadtxt and savetxt. Cleaned up the docstring ↵dhuard2008-04-161-13/+46
| | | | of savetxt, added some info on formatting.
* Fix fromregex, add documentation and tests [patch by Pauli Virtanen].Stefan van der Walt2008-04-121-10/+32
|