summaryrefslogtreecommitdiff
path: root/numpy/lib
Commit message (Collapse)AuthorAgeFilesLines
* BUG: Some bugs in squeeze and concatenate found by testing SciPyMark Wiebe2011-08-272-0/+11
|
* ENH: missingdata: trying some more functions to see how they treat NAsMark Wiebe2011-08-271-0/+4
|
* ENH: missingdata: Add NA support to np.diagonal, change np.diagonal to ↵Mark Wiebe2011-08-271-11/+4
| | | | always return a view
* ENH: umath: Make sum, prod, any, or functions use the .reduce method directlyMark Wiebe2011-08-271-1/+1
| | | | | | | | | | | This required some extensive changes, like: * Making logical_or, logical_and, and logical_not on object arrays behave like their Python equivalents instead of calling methods on the objects * Changing the units for a fair number of the binary operations to None, so they don't get initialized to their unit values at the start A consequence of this is that multi-dimensional reductions like sum, prod, any, or all no longer need to make copies, so are faster in some cases.
* ENH: missingdata: Implemented boolean assignment, working with NA masksMark Wiebe2011-08-271-1/+1
|
* BUG: loadtxt: There was some extra nesting for subarray dtypes (Ticket #1936)Mark Wiebe2011-08-202-5/+30
|
* ENH: Add provision for headers and footers to savetxt, fixes ticket 1236.Paul Anton Letnes2011-08-152-4/+57
| | | | | I suggest using a separate keyword argument for structured arrays. It might also be nice to be able to add a manual header.
* ENH: Faster asarray_chkfiniteChris Jordan-Squire2011-08-131-2/+1
|
* BUG: fix failing npyio test under py3k. Thanks to Derek Homeier. Closes #1793.Ralf Gommers2011-08-102-1/+3
|
* BUG: lib: use Py_TYPE to access ob_type, so it works also on Py3Pauli Virtanen2011-07-311-7/+8
|
* ENH: let genfromtxt return empty array for empty input file instead of an error.Paul Anton Letnes2011-07-312-7/+10
| | | | A warning for empty files is issued, including file name. Closes #1793.
* Merge branch 'deprecate_array_field_access'Mark Wiebe2011-07-265-93/+112
|\
| * STY: Remove trailing whitespaceMark Wiebe2011-07-262-3/+3
| |
| * ENH: core: Rename PyArray_SetBase to PyArray_SetBaseObject to be more clearMark Wiebe2011-07-221-1/+1
| |
| * TST: rec: DType in join_by test was inconsistentMark Wiebe2011-07-191-2/+3
| |
| * ENH: core: More cleanups removing direct PyArrayObject field accessMark Wiebe2011-07-191-73/+90
| |
| * ENH: core: Some fixes, change some tests to not use yieldMark Wiebe2011-07-191-15/+16
| |
* | BUG: fixed histogramdd bug with empty inputs. Closes #1899.David Huard2011-07-243-5/+11
| |
* | BUG: datetime: Various fixes for datetime arrays.Ben Walsh2011-07-192-9/+33
|/
* Regression test for missing dtype and order args in asarray_chkfiniteLars Buitinck2011-07-191-0/+6
|
* BUG: fix asarray_chkfinite to take dtype and order args, as advertisedLars Buitinck2011-07-191-4/+4
| | | | Includes a doctest for dtype.
* ENH: Fix some functions to use copyto instead of the deprecated putmask.Charles Harris2011-07-091-7/+7
|
* Merge branch 'pull-105'Charles Harris2011-07-091-12/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pull-105: STY: Put spaces around the '&' and '|' operators. STY: Fix 'copy' 'copyto' typo and remove some trailing whitespace. ENH: Use np.copyto instead of np.fill in some places ENH: core: Add np.copyto, PyArray_MaskedMoveInto, PyArray_MaskedCopyInto ENH: core: Add support for masked strided transfer functions NEP: missingdata: Add a small note about single NA vs multi-NA NEP: missingdata: Describe a possible way multi-NA could be added in the future NEP: missingdata: Change the mask definition STY: Some small stylistic changes ENH: nditer: Add the basic checking and input of the MASK-related flags NEP: missingdata: Design the mask binary format so it's extensible with a payload DEP: core: Move 'fortran' macro into the deprecated header ENH: nditer: Add the per-operand masked iteration flags WRN: Get rid of some of the deprecation warnings about 'O4' DEP: core: Move NPY_AO into the deprecated API header
| * WRN: Get rid of some of the deprecation warnings about 'O4'Mark Wiebe2011-07-081-12/+12
| |
* | BUG: Fixed bugs in join_by and added testsSkipper Seabold2011-07-082-6/+74
|/
* Merge branch 'datetime-fixes'Mark Wiebe2011-06-072-53/+1
|\
| * ENH: Remove 'den' datetime metadata, move datetime_data to a C functionMark Wiebe2011-05-202-53/+1
| | | | | | | | | | | | | | | | | | The 'den' metadata was always 1, except during construction, so there is no reason for it to exist. The variable is kept in the struct for 1.6 ABI compatibility, however. The datetime_data function used ctypes. Moving the function to C is no more difficult, and a bit cleaner in my opinion.
* | ENH: speed up in1d() in the case of ar1 >> ar2. Closes #1603.rgommers2011-05-292-55/+59
|/ | | | | | A timing script justifying the switching criterion is attached to ticket 1603. Thanks to Neil Crighton.
* use np.atleast_Nd() to boost dimensions to ndminDerek Homeier2011-05-072-7/+24
|
* changed ndmin option in loadtxt to return shape (1, X.size) for single-row ↵Derek Homeier2011-05-072-3/+12
| | | | inputs
* DOC:BUG: fix percentile examples. Closes #1813.Ralf Gommers2011-04-291-7/+6
|
* TST: test for different line endings in genfromtxt input file. NoteMatthew Brett2011-04-061-25/+27
| | | | | that the test for '\r' is skipped for python 3k since it is known to fail.
* STY: Replace assert by assert_ in tests. There remain 124 uses ofCharles Harris2011-04-0511-77/+78
| | | | assert in non-testing files that should be checked for correctness.
* STY: Fix up some remaining old-style exceptions.Charles Harris2011-04-053-7/+7
| | | | I think that is the end of it.
* STY: Fix up some two line old-style exceptions.Charles Harris2011-04-052-4/+4
|
* STY: Update exception styles, trickier ones.Charles Harris2011-04-051-2/+2
|
* STY: Update exception style, easy ones.Charles Harris2011-04-057-26/+26
|
* STY: Replace remaining old style classes with classes subclassing object.Charles Harris2011-04-051-3/+3
|
* STY: Replace old style classes in tests with classes subclassing object.Charles Harris2011-04-052-4/+4
|
* BUG: Workaround for the fact the Python 2.4 doesn't accept 'Ub' as a fileCharles Harris2011-04-051-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.
* BUG: Python 2.4 doesn't accept the construction class foo():Charles Harris2011-04-051-3/+3
|
* moved import statement in npyio.py for ease of readingPaul Anton Letnes2011-04-041-1/+1
|
* BUG: ticket #1071, fix loadtxt to handle tab delimited data with missingDerek Homeir2011-04-042-11/+18
| | | | values in the last column and add test for same.
* ENH: Let genfromtxt accept generators as text sources. Add testCharles Harris2011-04-032-20/+36
| | | | for that case.
* BUG: Fix strings for Python 3k.Charles Harris2011-04-031-1/+1
|
* ENH: ticket #1616, let loadtxt accept generators in additions toCharles Harris2011-04-032-37/+41
| | | | file names and file like objects. Add test for for new functionality.
* BUG: fix test issues in test_twodim_base.py. Simplify and make tests run.Ralf Gommers2011-04-031-64/+60
|
* ENH: add ndmin keyword to loadtxt. Closes #1562.Ralf Gommers2011-04-032-2/+36
| | | | Thanks to Paul Anton Letnes and Derek Homeier.
* ENH: return empty array from loadtxt for an empty file. Closes #1752.Ralf Gommers2011-04-032-3/+11
| | | | Thanks to Paul Anton Letnes and Derek Homeier.
* TST: add test for ticket #1458.Charles Harris2011-04-021-1/+12
|