summaryrefslogtreecommitdiff
path: root/numpy/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 3K: lib: fix some bytes vs. str issues in _iotools.py and io.py -- mainly ↵Pauli Virtanen2010-02-205-88/+143
| | | | genfromtxt
* 3K: lib: even more bytes/str fixes in format.py testsPauli Virtanen2010-02-201-6/+8
|
* 3K: lib: use BytesIO in test_ioPauli Virtanen2010-02-201-109/+115
|
* 3K: lib: fix some bytes/str issues in _format.py and its testsPauli Virtanen2010-02-202-7/+22
|
* ENH: lib: write fortran-contiguous data to files using arr.T.tofile instead ↵Pauli Virtanen2010-02-201-4/+5
| | | | | | | | | of arr.data (required for Py3 compatibility) The issue is that when passing a buffer object to Python's io.BufferedWriter.write, it will try to obtain the buffer using PyBUF_ND | PyBUF_C_CONTIGUOUS. This will fail for strided arrays -- seems to be an issue in Python, as it probably should try to obtain a SIMPLE buffer.
* 3K: lib: adapt safe_eval for Py3 ast modulePauli Virtanen2010-02-201-32/+88
|
* 3K: lib: do not slice range() in _iotools needlesslyPauli Virtanen2010-02-201-1/+1
|
* 3K: lib: Make _datasource and its tests Py3 compatible + slight cleanup of ↵Pauli Virtanen2010-02-202-9/+12
| | | | the code
* 3K: lib: bytes vs. str fixes in lib.format and lib.ioPauli Virtanen2010-02-202-5/+7
|
* more docstring updates from pydoc website (thanks to everyone who contributed!)Jarrod Millman2010-02-174-55/+71
|
* removed old behavior for the histogram function.dhuard2010-02-163-158/+67
|
* BUG: Check input to poly for zero-dimensional arrays.Stefan van der Walt2010-02-082-2/+8
|
* BUG: fix #1387. Raise ValueError for empty input to bincount.David Cournapeau2010-02-022-0/+8
|
* TST: add a couple of simple unit-tests for bincount.David Cournapeau2010-02-021-0/+23
|
* np.genfromtxt: make sure we're using the actual names when double-checking ↵pierregm2010-01-201-1/+2
| | | | for missing values
* fixed a whole bunch of doctestsPaul Ivanov2009-12-2811-88/+189
|
* BUG: fix numscons build.David Cournapeau2009-12-101-0/+1
|
* * _iotools.LineSplitter : prevent the first and/or last empty tab-separated ↵pierregm2009-12-082-54/+65
| | | | columns to be dropped
* 3K: rename compat.isfile to isfileobj to avoid confusion with os.pathPauli Virtanen2009-12-061-3/+3
|
* 3K: lib: some fixes to lib.format on strings vs bytes; and file objectsPauli Virtanen2009-12-061-6/+6
|
* 3K: lib: use open instead of filePauli Virtanen2009-12-061-1/+1
|
* 3K: lib: make _datasource 2to3 friendlyPauli Virtanen2009-12-061-2/+4
|
* 3K: lib: module init for _compiled_basePauli Virtanen2009-12-061-4/+31
|
* 3K: lib: fix PyString issues in _compiled_base -- may need revisingPauli Virtanen2009-12-061-4/+10
|
* TST: use assert_warns to check for warnings (and to avoid cluttering ↵David Cournapeau2009-11-231-4/+17
| | | | non-verbose test output).
* Fix and test conversion and construction of date-time dtypes.Travis Oliphant2009-11-201-3/+9
|
* Add function to get datetime information from a date-time dtype.Travis Oliphant2009-11-191-1/+33
|
* first set of checkins from the doc editorJarrod Millman2009-11-134-67/+86
|
* 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
* Add backward compatible `deprecate_with_doc`.Stefan van der Walt2009-10-251-2/+11
|
* Add tests for ``deprecate``.Stefan van der Walt2009-10-251-0/+28
|
* Add ``deprecate`` function that doubles as a decorator.Stefan van der Walt2009-10-251-35/+68
|
* Merge deprecate_with_doc into deprecate(message="...").Stefan van der Walt2009-10-253-44/+29
|
* Fix lookfor on python 2.6. Add a test for it. Make it import submodules more ↵Pauli Virtanen2009-10-242-15/+80
| | | | aggressively.
* Hard tab removal.Charles Harris2009-10-201-5/+5
| | | | | Trailing whitespace removal. Some coding style cleanups.
* * io.genfromtxt : make sure that `names` is a list and not a tuplepierregm2009-10-191-12/+14
|
* * io.genfromtxtpierregm2009-10-162-15/+19
| | | | - fixed an issue when an explicit dtype has the right size, but the names don't
* * io.genfromtxtpierregm2009-10-162-4/+23
| | | | | - `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-144-16/+90
| | | | | | | | | | - 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
* ENH: move inspect copy into newly created compat module.David Cournapeau2009-10-131-210/+0
|
* ENH: do not use string module.David Cournapeau2009-10-131-2/+2
|
* ENH: remove things we do not need in inspect.David Cournapeau2009-10-131-621/+1
|
* ENH: add a toy test in inspect.David Cournapeau2009-10-131-0/+14
|
* ENH: add a copy of inspect (from 2.4.4).David Cournapeau2009-10-131-0/+816
|
* * io.genfromtxtpierregm2009-10-122-10/+40
| | | | - add `skip_footer` to remove some last lines
* * _iotools.StringConverterpierregm2009-10-124-75/+208
| | | | | | | | | | - 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
* Don't include assert_valid_refcount in numpy.testing.*Pauli Virtanen2009-10-101-1/+2
| | | | It's a private function used only in two internal regression tests.
* * ma.masked_equal : force the `fill_value` of the output to `value` (ticket ↵pierregm2009-10-094-107/+322
| | | | | | | | | | | | | #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-063-14/+88
| | | | | | | - 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-053-50/+130
| | | | columns (bug #1212)