Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 3K: lib: fix some bytes vs. str issues in _iotools.py and io.py -- mainly ↵ | Pauli Virtanen | 2010-02-20 | 5 | -88/+143 | |
| | | | | genfromtxt | |||||
* | 3K: lib: even more bytes/str fixes in format.py tests | Pauli Virtanen | 2010-02-20 | 1 | -6/+8 | |
| | ||||||
* | 3K: lib: use BytesIO in test_io | Pauli Virtanen | 2010-02-20 | 1 | -109/+115 | |
| | ||||||
* | 3K: lib: fix some bytes/str issues in _format.py and its tests | Pauli Virtanen | 2010-02-20 | 2 | -7/+22 | |
| | ||||||
* | ENH: lib: write fortran-contiguous data to files using arr.T.tofile instead ↵ | Pauli Virtanen | 2010-02-20 | 1 | -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 module | Pauli Virtanen | 2010-02-20 | 1 | -32/+88 | |
| | ||||||
* | 3K: lib: do not slice range() in _iotools needlessly | Pauli Virtanen | 2010-02-20 | 1 | -1/+1 | |
| | ||||||
* | 3K: lib: Make _datasource and its tests Py3 compatible + slight cleanup of ↵ | Pauli Virtanen | 2010-02-20 | 2 | -9/+12 | |
| | | | | the code | |||||
* | 3K: lib: bytes vs. str fixes in lib.format and lib.io | Pauli Virtanen | 2010-02-20 | 2 | -5/+7 | |
| | ||||||
* | more docstring updates from pydoc website (thanks to everyone who contributed!) | Jarrod Millman | 2010-02-17 | 4 | -55/+71 | |
| | ||||||
* | removed old behavior for the histogram function. | dhuard | 2010-02-16 | 3 | -158/+67 | |
| | ||||||
* | BUG: Check input to poly for zero-dimensional arrays. | Stefan van der Walt | 2010-02-08 | 2 | -2/+8 | |
| | ||||||
* | BUG: fix #1387. Raise ValueError for empty input to bincount. | David Cournapeau | 2010-02-02 | 2 | -0/+8 | |
| | ||||||
* | TST: add a couple of simple unit-tests for bincount. | David Cournapeau | 2010-02-02 | 1 | -0/+23 | |
| | ||||||
* | 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 | 11 | -88/+189 | |
| | ||||||
* | BUG: fix numscons build. | David Cournapeau | 2009-12-10 | 1 | -0/+1 | |
| | ||||||
* | * _iotools.LineSplitter : prevent the first and/or last empty tab-separated ↵ | pierregm | 2009-12-08 | 2 | -54/+65 | |
| | | | | columns to be dropped | |||||
* | 3K: rename compat.isfile to isfileobj to avoid confusion with os.path | Pauli Virtanen | 2009-12-06 | 1 | -3/+3 | |
| | ||||||
* | 3K: lib: some fixes to lib.format on strings vs bytes; and file objects | Pauli Virtanen | 2009-12-06 | 1 | -6/+6 | |
| | ||||||
* | 3K: lib: use open instead of file | Pauli Virtanen | 2009-12-06 | 1 | -1/+1 | |
| | ||||||
* | 3K: lib: make _datasource 2to3 friendly | Pauli Virtanen | 2009-12-06 | 1 | -2/+4 | |
| | ||||||
* | 3K: lib: module init for _compiled_base | Pauli Virtanen | 2009-12-06 | 1 | -4/+31 | |
| | ||||||
* | 3K: lib: fix PyString issues in _compiled_base -- may need revising | Pauli Virtanen | 2009-12-06 | 1 | -4/+10 | |
| | ||||||
* | TST: use assert_warns to check for warnings (and to avoid cluttering ↵ | David Cournapeau | 2009-11-23 | 1 | -4/+17 | |
| | | | | non-verbose test output). | |||||
* | Fix and test conversion and construction of date-time dtypes. | Travis Oliphant | 2009-11-20 | 1 | -3/+9 | |
| | ||||||
* | Add function to get datetime information from a date-time dtype. | Travis Oliphant | 2009-11-19 | 1 | -1/+33 | |
| | ||||||
* | first set of checkins from the doc editor | Jarrod Millman | 2009-11-13 | 4 | -67/+86 | |
| | ||||||
* | 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 | |||||
* | Add backward compatible `deprecate_with_doc`. | Stefan van der Walt | 2009-10-25 | 1 | -2/+11 | |
| | ||||||
* | Add tests for ``deprecate``. | Stefan van der Walt | 2009-10-25 | 1 | -0/+28 | |
| | ||||||
* | Add ``deprecate`` function that doubles as a decorator. | Stefan van der Walt | 2009-10-25 | 1 | -35/+68 | |
| | ||||||
* | Merge deprecate_with_doc into deprecate(message="..."). | Stefan van der Walt | 2009-10-25 | 3 | -44/+29 | |
| | ||||||
* | Fix lookfor on python 2.6. Add a test for it. Make it import submodules more ↵ | Pauli Virtanen | 2009-10-24 | 2 | -15/+80 | |
| | | | | aggressively. | |||||
* | Hard tab removal. | Charles Harris | 2009-10-20 | 1 | -5/+5 | |
| | | | | | Trailing whitespace removal. Some coding style cleanups. | |||||
* | * 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 | 2 | -15/+19 | |
| | | | | - fixed an issue when an explicit dtype has the right size, but the names don't | |||||
* | * io.genfromtxt | pierregm | 2009-10-16 | 2 | -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.StringConverter | pierregm | 2009-10-14 | 4 | -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 Cournapeau | 2009-10-13 | 1 | -210/+0 | |
| | ||||||
* | ENH: do not use string module. | David Cournapeau | 2009-10-13 | 1 | -2/+2 | |
| | ||||||
* | ENH: remove things we do not need in inspect. | David Cournapeau | 2009-10-13 | 1 | -621/+1 | |
| | ||||||
* | ENH: add a toy test in inspect. | David Cournapeau | 2009-10-13 | 1 | -0/+14 | |
| | ||||||
* | ENH: add a copy of inspect (from 2.4.4). | David Cournapeau | 2009-10-13 | 1 | -0/+816 | |
| | ||||||
* | * io.genfromtxt | pierregm | 2009-10-12 | 2 | -10/+40 | |
| | | | | - add `skip_footer` to remove some last lines | |||||
* | * _iotools.StringConverter | pierregm | 2009-10-12 | 4 | -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 Virtanen | 2009-10-10 | 1 | -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 ↵ | pierregm | 2009-10-09 | 4 | -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.StringConverter | pierregm | 2009-10-06 | 3 | -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 ↵ | pierregm | 2009-10-05 | 3 | -50/+130 | |
| | | | | columns (bug #1212) |