Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | TST: use assert_warns to check for warnings (and to avoid cluttering ↵ | David Cournapeau | 2009-11-23 | 1 | -4/+17 |
| | | | | non-verbose test output). | ||||
* | * io.genfromtxt | pierregm | 2009-10-16 | 1 | -13/+17 |
| | | | | - fixed an issue when an explicit dtype has the right size, but the names don't | ||||
* | * io.genfromtxt | pierregm | 2009-10-16 | 1 | -0/+16 |
| | | | | | - `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 | -2/+38 |
| | | | | | | | | | | - 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 | -2/+14 |
| | | | | - add `skip_footer` to remove some last lines | ||||
* | * _iotools.StringConverter | pierregm | 2009-10-12 | 1 | -13/+49 |
| | | | | | | | | | | - 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 | -10/+71 |
| | | | | | | | | | | | | | #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 | -0/+25 |
| | | | | | | | - 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 | -0/+38 |
| | | | | columns (bug #1212) | ||||
* | Add tests for dictionary interface to NpzFile. | Stefan van der Walt | 2009-07-04 | 1 | -0/+26 |
| | |||||
* | lib._iotools : | pierregm | 2009-05-28 | 1 | -0/+29 |
| | | | | | | | | | | | * 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 | -0/+9 |
| | |||||
* | Fixed #852: avoid filename clashes in savez, by using a secure temporary ↵ | Pauli Virtanen | 2009-03-30 | 1 | -0/+27 |
| | | | | file name | ||||
* | Fix import issue. | David Cournapeau | 2009-03-09 | 1 | -1/+1 |
| | |||||
* | Remove dead code. | David Cournapeau | 2009-03-09 | 1 | -1/+0 |
| | |||||
* | Do not hardcode string for savetxt testing, as the exact representation ↵ | David Cournapeau | 2009-03-09 | 1 | -5/+6 |
| | | | | depends on the platform. | ||||
* | BUG: Rewrite test_gzip_loadtxt to avoid NamedTemporaryFile which is ↵ | David Cournapeau | 2009-03-09 | 1 | -9/+30 |
| | | | | unusable with windows IO semantics + add another test for compressed string argument to loadtxt. | ||||
* | Correctly handle gzip filenames in loadtxt. | Stefan van der Walt | 2009-03-02 | 1 | -0/+8 |
| | |||||
* | Add test for Gzip loader. | Stefan van der Walt | 2009-02-22 | 1 | -0/+14 |
| | |||||
* | Whitespace cleanup. | Stefan van der Walt | 2009-02-22 | 1 | -4/+3 |
| | |||||
* | Fix tests using strptime to be Python 2.4 compatible. | Stefan van der Walt | 2009-02-19 | 1 | -6/+13 |
| | |||||
* | Tag known failure on win32. | David Cournapeau | 2009-02-19 | 1 | -0/+2 |
| | |||||
* | * genfromtxt : fixed case when using explicit converters and explicit dtype. | pierregm | 2009-02-14 | 1 | -2/+11 |
| | |||||
* | Removed an unneccessary return statement in a unit test. | Travis Oliphant | 2009-02-06 | 1 | -1/+0 |
| | |||||
* | * genfromtxt : Fixed when a dtype involving objects is explicitly given. ↵ | pierregm | 2009-02-05 | 1 | -0/+29 |
| | | | | | | 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 ↵ | pierregm | 2009-02-03 | 1 | -0/+11 |
| | | | | define it. | ||||
* | * _iotools.StringConverter : | pierregm | 2009-01-26 | 1 | -0/+17 |
| | | | | | | | | - 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/+25 |
| | | | | character as header. | ||||
* | * lib : introduced _iotools | pierregm | 2009-01-19 | 1 | -1/+357 |
| | | | | * lib.io : introduced genfromtxt, ndfromtxt, mafromtxt, recfromtxt, recfromcsv. | ||||
* | Use new-style classes with multiple-inheritance to address bug in IronPython. | Stefan van der Walt | 2009-01-06 | 1 | -1/+1 |
| | |||||
* | BUG (#827): close temp file before reopning them on windows, and make sure ↵ | David Cournapeau | 2008-12-27 | 1 | -1/+15 |
| | | | | they are not automatically deleted on close either (2.6and higher specific). | ||||
* | Reformat spacing in io tests. | Stefan van der Walt | 2008-11-29 | 1 | -33/+37 |
| | |||||
* | Add test for load's mmap_mode. | Stefan van der Walt | 2008-11-29 | 1 | -26/+61 |
| | |||||
* | Fix ambiguous assert. | David Cournapeau | 2008-11-20 | 1 | -1/+1 |
| | |||||
* | Ignore unused converters in `loadtxt`. | Stefan van der Walt | 2008-09-22 | 1 | -0/+11 |
| | |||||
* | FIX: Loadtxt raises on empty input (closes #908). | Stefan van der Walt | 2008-09-09 | 1 | -3/+5 |
| | |||||
* | Applied patch from R. May fixing ticket #905 (loadtxt). Fixed other bug ↵ | dhuard | 2008-09-05 | 1 | -1/+15 |
| | | | | occurring when both usecols and converters are provided. Added related regression tests. | ||||
* | ran reindent | Jarrod Millman | 2008-08-08 | 1 | -3/+3 |
| | |||||
* | Apply Stefan's patch for Ryan's loadtext fix. | Charles Harris | 2008-07-22 | 1 | -0/+9 |
| | |||||
* | Committed patch from Ryan May. It fixes error in loadtxt occurring when ↵ | dhuard | 2008-07-22 | 1 | -0/+11 |
| | | | | | | usecols is not None and dtypes are given. I added the test suggested by Ryan. | ||||
* | Added tests to improve coverage. | Alan McIntyre | 2008-07-13 | 1 | -0/+58 |
| | | | | Renamed TestPiecewise methods so that they will be picked up by nose. | ||||
* | Restore old test framework classes. | Alan McIntyre | 2008-06-21 | 1 | -1/+1 |
| | | | | | | | | | | | Added numpy.testing.run_module_suite to simplify "if __name__ == '__main__'" boilerplate code in test modules. Removed numpy/testing/pkgtester.py since it just consisted of an import statement after porting SciPy r4424. Allow numpy.*.test() to accept the old keyword arguments (but issue a deprecation warning when old arguments are seen). numpy.*.test() returns a test result object as before. Fixed typo in distutils doc. | ||||
* | Switched to use nose to run tests. Added test and bench functions to all ↵ | Alan McIntyre | 2008-06-17 | 1 | -4/+5 |
| | | | | modules. | ||||
* | Support for multi formatting elements in savetxt [patch by David Huard]. | Stefan van der Walt | 2008-04-28 | 1 | -21/+20 |
| | | | | Closes #663. | ||||
* | ran reindent in preparation for the 1.1 release | Jarrod Millman | 2008-04-20 | 1 | -11/+11 |
| | |||||
* | Added and fixed some tests for loadtxt and savetxt. Cleaned up the docstring ↵ | dhuard | 2008-04-16 | 1 | -6/+78 |
| | | | | of savetxt, added some info on formatting. | ||||
* | Fix fromregex, add documentation and tests [patch by Pauli Virtanen]. | Stefan van der Walt | 2008-04-12 | 1 | -19/+53 |
| | |||||
* | Compare against native-endian types, not endian-specific types. | Robert Kern | 2008-04-12 | 1 | -2/+2 |
| | |||||
* | Added test for handling missing data using loadtxt. | dhuard | 2008-04-09 | 1 | -0/+18 |
| | |||||
* | Modified io._getconv to allow loading values stored as float as integers ↵ | dhuard | 2008-04-04 | 1 | -0/+10 |
| | | | | | | arrays. Added test to check the behavior as suggested in the comment from b. southey in ticket #623 |