summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* BUG: make np.squeeze always return an array, never a scalarEric Wieser2017-02-101-0/+5
| | | | Fixes #8588
* Merge pull request #8592 from eric-wieser/remove-setsliceCharles Harris2017-02-104-6/+13
|\ | | | | MAINT: Remove __setslice__ and __getslice__
| * DOC: Use getitem and setitem in indexCharles Harris2017-02-101-2/+2
| | | | | | Replaces getslice and setslice which have been removed.
| * MAINT: Add release notes for __[gs]etslice__ removalEric Wieser2017-02-091-0/+11
| |
| * DOC: Change index keywords to dissociate from deprecated magic methodsEric Wieser2017-02-091-2/+2
| |
| * MAINT: Remove __setslice__ and __getslice__Eric Wieser2017-02-092-4/+0
| | | | | | | | | | This code was only here for Python 2.5 compatibility, but numpy requires 2.7 at minimum
* | DOC: fix typo in 'Stacking together different arrays'Kirill Balunov2017-02-071-11/+16
| | | | | | | | | | | | The example with `newaxis` now looks rather silly. I left it because it is the only place in this tutorial with an example how to use `newaxis`.
* | DOC: fix typo in indexing sectionKirill Balunov2017-02-071-7/+8
|/
* ENH: hard-code finfo parameters for known types (#8504)Matthew Brett2017-02-031-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ENH: hard-code finfo parameters for known types Hard-code the MachAr parameters for float64, float32, 80-bit extended precision, to save time, and provide skeleton for more difficult types such as the double double on PPC; see https://github.com/numpy/numpy/issues/2669 * ENH: add PPC long double finfo Add parameters for PPC long double, fixing long-standing bug for finfo on PPC. * BF: use Python floats for float64 finfo For some reason (garrgh) np.exp2 with float64 gives a different answer on Windows than it does on other platforms; use Python floating point calculations instead, which do appear to be consistent. * DOC: add release notes for finfo fixes Add release note describing fixes for PPC long double ``finfo``. * RF: try using byte string to identify floats From suggestion by Chuck, and https//perl5.git.perl.org/perl.git/blob/3118d7d684b56cbeb702af874f4326683c45f045:/Configure * TST: add tests for reasonable finfo parameters Check that finfo returns somewhat reasonable parameters for all floating point types. * RF: add warning for not-recognized float type Warn if we don't have a signature for the float type. * NF: add IEEE float128 type signature Still needs test on platform with IEEE float128, to check MachAr-like parameters are correct.
* Revert 8540 patch 1 (#8541)aha662017-01-281-3/+3
| | | DOC: fix error in arrays.ndarray.rst again
* Update arrays.ndarray.rstaha662017-01-281-2/+2
| | | corrected formula for n_offset and d_j
* DOC: fix return value for PyArray_ResizeA. Jesse Jiryu Davis2017-01-241-4/+4
|
* BUG: bool(dtype) is TrueJim Crist2017-01-231-0/+9
| | | | | | | | | | | Previously `bool(dtype(...))` would fallback to the default implementation of `__nonzero__`, which checks if `len(object) > 0`. Since `dtype` objects implement `__len__` as the number of record fields, `bool` of scalar dtypes like `bool(dtype('i8'))` would evaluate as `False`. This fixes that by implementing `__nonzero__` to always return True. Fixes #6294.
* Fix building extensions with MinGW in WinPython 3.4 (#8454)Roland Kaufmann2017-01-221-0/+4
| | | MAINT: Fix building extensions with MinGW in WinPython 3.4
* Merge pull request #8326 from juliantaylor/vectorize-packbitsCharles Harris2017-01-201-0/+5
|\ | | | | ENH: Vectorize packbits with SSE2
| * DOC: add packbits improvements to release notesJulian Taylor2017-01-121-0/+5
| |
* | DOC: Place np.average in inline code.John Kirkham2017-01-171-2/+2
| | | | | | | | [ci skip]
* | MAINT: Forward port accumulated changes from the 1.12.0 release.Charles Harris2017-01-151-605/+616
|/ | | | | | | | | | | | | The following files were updated during the NumPy 1.12.0 release - .mailmap - doc/release/1.12.0-notes.rst - tools/announce.py - pavement.py and are forward ported to master by this PR. [ci skip]
* Merge pull request #8443 from lesteve/mmap-offsetseberg2017-01-111-0/+6
|\ | | | | BUG: fix set memmap offset attribute correctly when offset is greater than mmap.ALLOCATIONGRANULARITY
| * FIX set memmap offset attribute correctlyLoïc Estève2017-01-051-0/+6
| | | | | | | | when offset is greater than mmap.ALLOCATIONGRANULARITY
* | [DOC]Small release doc fix. I did this PR for Theano and my first PR in ↵Frederic Bastien2017-01-101-2/+2
|/ | | | numpy https://github.com/numpy/numpy/pull/306/files is from 2012.
* DOC: Added changed behavior of assert_array_lessJonathan Tammo Siebert2017-01-041-0/+7
| | | | | | The bug that +/- inf where not treated correctly in np.testing.assert_array_less changed the behavior and is thus mentioned in the release notes.
* single too argument + mention in release docs.Oscar Villellas2017-01-031-0/+13
|
* DOC: Update 1.12.0-notes.Charles Harris2016-12-191-73/+91
| | | | [ci skip]
* DOC: create 1.11.3 release notes.Charles Harris2016-12-182-0/+26
| | | | [ci skip]
* DOC: Update 1.12.0-notes.rst.Charles Harris2016-12-131-3/+23
| | | | [ci skip]
* Merge pull request #8355 from rolk/8355_mingw_py35Charles Harris2016-12-121-0/+12
|\ | | | | Fix building extensions with MinGW for Python 3.5
| * DOC: MinGW is partially supported, with caveatsRoland Kaufmann2016-12-121-0/+12
| | | | | | | | | | | | | | MinGW can be used to build extensions, but will most likely fail for extensions that uses the runtime extensively. This is just a band-aid until Mingwpy is fully functional for calculation code written in Fortran.
* | DOC: Fix Python versionsAlexandr Shadchin2016-12-091-1/+1
|/
* DEP: Drop deprecated boolean indexing behavior and update to new.Charles Harris2016-12-031-0/+17
| | | | | | This affects mostly old boolean indexing behavior that was deprecated in NumPy 1.9. At the time the new behavior was causing errors in a number of downstream projects, hopefully that has been taken care of.
* Merge pull request #8297 from charris/expired-deprecationsCharles Harris2016-11-261-3/+24
|\ | | | | DEP: Handle expired deprecations.
| * DEP: Make np.equal and np.not_equal ignore object identity.Charles Harris2016-11-231-0/+12
| | | | | | | | | | | | | | | | | | | | | | This only applies to object arrays. Previously object identity would override object comparison failures, comparison of objects that did not return a boolean (arrays), and comparison of objects where the comparison result did not agree with the object identity result (NaNs) The first two behaviors have been deprecated since 1.9 and now return errors. The last has issued a FutureWarning since 1.9 and now returns the result of the comparison.
| * DEP: Raise TypeError for subtract(bool_, bool_).Charles Harris2016-11-221-1/+2
| | | | | | | | Subtracting a bool_ from a bool_ was deprecated in NumPy 1.9
| * DEP: Raise TypeError for np.negative(bool_).Charles Harris2016-11-221-0/+1
| | | | | | | | The unary minus of booleans was deprecated in NumPy 1.9.
| * DEP: ``NpyIter_AdvancedNew`` deprecation to ValueErrorCharles Harris2016-11-221-1/+2
| | | | | | | | | | | | | | NpyIter_AdvancedNew raises ValueError when `oa_ndim == 0` and `op_axes` is NULL. Deprecated since NumPy 1.8.
| * DEP: Make non-integer partition index raise TypeError.Charles Harris2016-11-221-0/+2
| | | | | | | | Non-integer index has been deprecated since NumPy 1.8.0.
| * DEP: Make a == None and a != None compare element-wise.Charles Harris2016-11-211-3/+7
| | | | | | | | | | | | These changes have been warned of since numpy 1.7.0 for the == case and since numpy 1.8 for the != case. This makes both operators compare element-wise for this case.
* | BUG: add checks for some invalid structured dtypes.James Sanders2016-11-241-0/+9
|/ | | | Fixes #2865.
* MAINT: let average preserve subclass information.Marten van Kerkwijk2016-11-191-0/+12
| | | | | | This behaviour matches that for most other numpy functions (such as np.mean). It was initially slated for 1.12, but replaced by a FutureWarning. Hence, this is for 1.13.
* DOC: Update 1.13.0 release notes.Charles Harris2016-11-171-5/+7
| | | | | | | Change markup of title so that it works properly on the Github releases page. [ci skip]
* DOC: Update 1.12.0 release notes.Charles Harris2016-11-161-21/+580
| | | | [ci skip]
* Added axis argument to numpy.uniquemartinosorb2016-11-131-1/+5
|
* DOC: Changed shape assignment example to reshape. Elaborated modifying shapepetetanru2016-11-111-12/+23
|
* Merge pull request #8241 from charris/prepare-1.13Charles Harris2016-11-052-0/+50
|\ | | | | MAINT: Prepare for 1.13.0 after 1.12.x branch
| * DOC: Add 1.13.0 notes.Charles Harris2016-11-052-0/+50
| | | | | | | | [ci skip]
* | DOC: Cleanup 1.12.0 release notes.Charles Harris2016-11-051-85/+85
|/ | | | | | | Fix spelling, arrangement, markup, etc. This is more a first pass than a finishing touchup. [ci skip]
* Merge pull request #8231 from charris/integer-to-neg-integer-powerCharles Harris2016-11-051-7/+21
|\ | | | | ENH: Refactor numpy ** operators for numpy scalar integer powers
| * DOC: Note change to scalar integer powers in 1.12.0 release notes.Charles Harris2016-11-011-7/+21
| | | | | | | | [ci skip]
* | Merge pull request #8190 from charris/add-fpower-ufuncCharles Harris2016-11-051-0/+9
|\ \ | | | | | | ENH: Add a float_power function with at least float64 precision.
| * | DOC: Mention the fpower function in the 1.12.0 release notes.Charles Harris2016-11-021-0/+9
| | | | | | | | | | | | [ci skip]