Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | ENH: Since file handle could not be reopened (during load()) -- no need for ↵ | Yaroslav Halchenko | 2012-07-05 | 1 | -17/+3 | |
| | | | | "isclosed" logic | |||||
* | BF: PY3 and PY2 < 2.7 compatibility fixes for prev 2 commits | Yaroslav Halchenko | 2012-07-02 | 1 | -6/+10 | |
| | ||||||
* | BUG: do not "own" the FID for GzipFile and file if provided to load already ↵ | Yaroslav Halchenko | 2012-07-02 | 1 | -4/+12 | |
| | | | | | | opened (ticket #2178) Also made all assignments of own_file go in pair with assignments to fid to make things clearer | |||||
* | DOC: Change versionadded from 2.0.0 to 1.7.0 where needed. | Charles Harris | 2012-03-04 | 1 | -2/+2 | |
| | ||||||
* | DOC: merge wiki doc edits. | Ralf Gommers | 2012-03-03 | 1 | -30/+39 | |
| | ||||||
* | ENH: lib: break reference cycle in NpzFile (#2048) | Pauli Virtanen | 2012-02-16 | 1 | -1/+4 | |
| | | | | | This allows these objects to be freed by refcount, rather than requiring the gc, which can be useful in some situations. | |||||
* | BUG: savetxt now handles complex arrays. Closes #1573. | Paul Anton Letnes | 2011-12-28 | 1 | -10/+32 | |
| | ||||||
* | ENH: add context manager for NpzFile class. | David Cournapeau | 2011-10-10 | 1 | -0/+13 | |
| | ||||||
* | DOC: mention that NpzFile instances must be closed. | David Cournapeau | 2011-10-10 | 1 | -1/+13 | |
| | ||||||
* | BUG: loadtxt: There was some extra nesting for subarray dtypes (Ticket #1936) | Mark Wiebe | 2011-08-20 | 1 | -5/+10 | |
| | ||||||
* | ENH: Add provision for headers and footers to savetxt, fixes ticket 1236. | Paul Anton Letnes | 2011-08-15 | 1 | -4/+22 | |
| | | | | | I suggest using a separate keyword argument for structured arrays. It might also be nice to be able to add a manual header. | |||||
* | BUG: fix failing npyio test under py3k. Thanks to Derek Homeier. Closes #1793. | Ralf Gommers | 2011-08-10 | 1 | -1/+2 | |
| | ||||||
* | ENH: let genfromtxt return empty array for empty input file instead of an error. | Paul Anton Letnes | 2011-07-31 | 1 | -2/+4 | |
| | | | | A warning for empty files is issued, including file name. Closes #1793. | |||||
* | STY: Remove trailing whitespace | Mark Wiebe | 2011-07-26 | 1 | -2/+2 | |
| | ||||||
* | use np.atleast_Nd() to boost dimensions to ndmin | Derek Homeier | 2011-05-07 | 1 | -5/+8 | |
| | ||||||
* | changed ndmin option in loadtxt to return shape (1, X.size) for single-row ↵ | Derek Homeier | 2011-05-07 | 1 | -1/+4 | |
| | | | | inputs | |||||
* | STY: Fix up some remaining old-style exceptions. | Charles Harris | 2011-04-05 | 1 | -3/+3 | |
| | | | | I think that is the end of it. | |||||
* | STY: Update exception styles, trickier ones. | Charles Harris | 2011-04-05 | 1 | -2/+2 | |
| | ||||||
* | STY: Update exception style, easy ones. | Charles Harris | 2011-04-05 | 1 | -1/+1 | |
| | ||||||
* | BUG: Workaround for the fact the Python 2.4 doesn't accept 'Ub' as a file | Charles Harris | 2011-04-05 | 1 | -1/+1 | |
| | | | | | | | | | mode, but does accept 'rbU'. Note that with either of these modes Python 3 fails to split files with '\r' line endings on linux. This is either a bug in Python 3 or something that requires more extensive modifications to genfromtxt. Because genfromtxt now accepts generators it should be possible to write a generator that opens files in text mode and encodes the lines as byte streams, and this should provide a workaround. | |||||
* | moved import statement in npyio.py for ease of reading | Paul Anton Letnes | 2011-04-04 | 1 | -1/+1 | |
| | ||||||
* | BUG: ticket #1071, fix loadtxt to handle tab delimited data with missing | Derek Homeir | 2011-04-04 | 1 | -3/+4 | |
| | | | | values in the last column and add test for same. | |||||
* | ENH: Let genfromtxt accept generators as text sources. Add test | Charles Harris | 2011-04-03 | 1 | -19/+27 | |
| | | | | for that case. | |||||
* | ENH: ticket #1616, let loadtxt accept generators in additions to | Charles Harris | 2011-04-03 | 1 | -37/+34 | |
| | | | | file names and file like objects. Add test for for new functionality. | |||||
* | ENH: add ndmin keyword to loadtxt. Closes #1562. | Ralf Gommers | 2011-04-03 | 1 | -2/+19 | |
| | | | | Thanks to Paul Anton Letnes and Derek Homeier. | |||||
* | ENH: return empty array from loadtxt for an empty file. Closes #1752. | Ralf Gommers | 2011-04-03 | 1 | -1/+4 | |
| | | | | Thanks to Paul Anton Letnes and Derek Homeier. | |||||
* | ENH: ticket #1458, make loadtxt(..., unpack=True) unpack structured array | Derek Homier | 2011-04-02 | 1 | -2/+7 | |
| | | | | fields. | |||||
* | BUG: ticket #1565, fix conversion of int64 and uint64 types by loadtxt. | Christoph Gohlke | 2011-04-02 | 1 | -0/+4 | |
| | | | | Add some tests for these types. | |||||
* | BUG: open genfromtxt file as binary; add test for filename use | Matthew Brett | 2011-03-30 | 1 | -1/+1 | |
| | ||||||
* | DEP: Update deprecation messages in genloadtxt with a version number. | rgommers | 2011-03-11 | 1 | -12/+14 | |
| | | | | | Because the docstring was still using `skiprows` explicitly, that keyword can not yet be removed. Should be done for 2.0. | |||||
* | DOC: commit some more fixes from the doc wiki. | rgommers | 2011-03-03 | 1 | -1/+1 | |
| | ||||||
* | BUG: correct file name in fromregex. | rgommers | 2011-03-01 | 1 | -2/+2 | |
| | | | | Thanks to Mattieu Brucher for reporting. | |||||
* | ENH: core: Implement PyArray_CopyInto using the new iterator | Mark Wiebe | 2011-01-16 | 1 | -22/+38 | |
| | | | | | | | | This change also uses the dtype conversion code implemented for new iterator buffering, which differs slightly from the previous casting behavior. In particular, fields are matched up by name instead of position, so code depending on that behavior breaks. The loadtxt function has been fixed to not depend on this casting behavior. | |||||
* | BUG: Try fix for python 2.4, use list instead of tuple. | Charles Harris | 2010-12-02 | 1 | -1/+1 | |
| | ||||||
* | BUG: Fix GzipFile wrapper to be <= 2.5 compatible. | Stefan van der Walt | 2010-11-23 | 1 | -4/+9 | |
| | ||||||
* | ENH: Remove deprecation warning from GzipFile wrapper. | Stefan van der Walt | 2010-11-18 | 1 | -4/+6 | |
| | ||||||
* | BUG: GzipFile wrapper objects are not garbage collected (closes ticket #1356). | Fabian Pedregosa | 2010-11-18 | 1 | -26/+24 | |
| | | | | | | | | | The underlying problem is that classes monkey-patched via new.instancemethod will only free memory correctly if they do _not_ implement the __del__ method, which is not the case for gzip.GzipFile. My proposed solution is to inherit from gzip.GzipFile and override relevant methods instead of monkey-patching. | |||||
* | genfromtxt: Taking more adequate testing values when updating converters: ↵ | pierregm | 2010-11-13 | 1 | -0/+6 | |
| | | | | bug #1665 | |||||
* | Fixing genfromtxt: names w/ usecols (bug #1636) | pierregm | 2010-11-13 | 1 | -2/+3 | |
| | ||||||
* | ENH: lib: allow zip64 extensions in .npz files; allows > 2GB | Pauli Virtanen | 2010-10-10 | 1 | -4/+7 | |
| | ||||||
* | ENH: lib: add savez_compressed function for saving compressed archives | Pauli Virtanen | 2010-10-10 | 1 | -5/+40 | |
| | ||||||
* | BUG: io: close file handles immediately after use, where possible (#1517) | Pauli Virtanen | 2010-10-10 | 1 | -72/+125 | |
| | ||||||
* | * fixed the behavior of {{{skip_footer}}} in {{{genfromtxt}}} when some ↵ | pierregm | 2010-09-13 | 1 | -15/+23 | |
| | | | | invalid lines are present (bug #1593) | |||||
* | Merge branch 'poly' | Charles Harris | 2010-08-15 | 1 | -1/+1 | |
| | | | | | | Conflicts: numpy/polynomial/chebyshev.py numpy/polynomial/polynomial.py | |||||
* | DOC: wiki merge, npyio, format and function_base | rgommers | 2010-07-31 | 1 | -15/+18 | |
| | ||||||
* | DOC: merge wiki edits for module npyio. | rgommers | 2010-06-02 | 1 | -8/+14 | |
| | ||||||
* | * add a `replace_space` option to NameValidator | pierregm | 2010-05-16 | 1 | -3/+12 | |
| | | | | * Force a file to be opened in 'U' mode (bug #1473) | |||||
* | BUG/3K: lib: make savetxt work with filenames | Pauli Virtanen | 2010-05-13 | 1 | -4/+3 | |
| | ||||||
* | BUG: lib: make loadtxt work on Py3 when fh returns unicode (fixes #1479) | Pauli Virtanen | 2010-05-08 | 1 | -1/+1 | |
| | ||||||
* | BUG: The builtin file function goes away in python 3k, use open instead. | Charles Harris | 2010-05-03 | 1 | -1/+1 | |
| |