summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Apply proposed changesmpro2019-11-181-6/+3
| | | | | |
| * | | | | Doc: Compare 'tolist' function to 'list' in examplempro2019-11-181-4/+14
| | | | | |
* | | | | | ENH: add isinf, isnan, fmin, fmax loops for datetime64, timedelta64 (#14841)Matti Picus2019-11-216-38/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `np.datetime('NaT')` should behave more like `float('Nan')`. Add needed infrastructure so `np.isinf(a)` and `np.isnan(a)` will run on `datetime64` and `timedelta64` dtypes. Also added specific loops for `numpy.fmin` and `numpy.fmax` that mask `NaT`.
* | | | | | Merge pull request #14951 from bashtage/random-examplesMatti Picus2019-11-214-21/+37
|\ \ \ \ \ \ | | | | | | | | | | | | | | DOC: Clean up examples of low-level random access
| * | | | | | DOC: Clean up examples of low-level random accessKevin Sheppard2019-11-214-21/+37
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Test examples on Linux and Windows Correct bug in Cython example Improve building instructions for numba examples
* | | | | | BUG: Fix step returned by linspace when num=1 and endpoint=False (#14929)David Zwicker2019-11-212-9/+16
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Changed the the behavior of linspace to return a proper step size for arguments num=1 and endpoint=False, where previously NaN was returned. closes gh-14927
* | | | | Merge pull request #14944 from mattip/move-examplesCharles Harris2019-11-2015-13/+12
|\ \ \ \ \ | | | | | | | | | | | | MAINT: move numpy/random/examples -> numpy/random/_examples
| * | | | | DOC, MAINT: fix documentation, remove __init__.pymattip2019-11-207-8/+8
| | | | | |
| * | | | | MAINT: move numpy/random/examples -> numpy/random/_examplesmattip2019-11-199-5/+4
| | | | | |
* | | | | | Merge pull request #14947 from WarrenWeckesser/arrequal-docMatti Picus2019-11-201-5/+22
|\ \ \ \ \ \ | |/ / / / / |/| | | | | DOC: testing: Note handling of scalars in assert_array_equal and assert_equal.
| * | | | | DOC: testing: Note handling of scalars in assert_array_equal and assert_equal.Warren Weckesser2019-11-201-5/+22
|/ / / / /
* | | | | Merge pull request #14935 from bashtage/default-rng-returnCharles Harris2019-11-191-3/+7
|\ \ \ \ \ | | | | | | | | | | | | DOC: Clarify return type for default_rng
| * | | | | DOC: Clarify return type for default rngKevin Sheppard2019-11-191-3/+7
|/ / / / / | | | | | | | | | | | | | | | Ensure that default_rng has a return type to improve code completion
* | | | | API: restructure and document numpy.random C-API (#14604)Matti Picus2019-11-1930-187/+377
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * API: restructure and document numpy.random C-API * DOC: fix bad reference * API: ship, document, and start to test numpy.random C-API examples * API, DOC, TST: fix tests, refactor documentation to include snippets * BUILD: move public headers to numpy/core/include/numpy/random * TST: ignore DeprecationWarnings in setuptools and numba * DOC: document the C-API as used from Cython
* | | | | Merge pull request #14915 from charris/update-travis-3.8Charles Harris2019-11-182-18/+33
|\ \ \ \ \ | | | | | | | | | | | | TST: Update travis.yml
| * | | | | TST: Update travis.ymlCharles Harris2019-11-172-18/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use 3.8 instead of 3.8-dev - Add some blank lines for clarity
* | | | | | Merge pull request #14793 from hameerabbasi/uarrayCharles Harris2019-11-181-47/+67
|\ \ \ \ \ \ | | | | | | | | | | | | | | DOC: Adjust NEP-31 to new template.
| * | | | | | DOC: Move composition example into usage sectionHameer Abbasi2019-10-291-11/+8
| | | | | | |
| * | | | | | Merge pull request #9 from hameerabbasi/uarray-meHameer Abbasi2019-10-281-42/+65
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | DOC: Adjust NEP-31 to new template.
| | * | | | | | DOC: Adjust NEP-31 to new template.Hameer Abbasi2019-10-251-42/+65
| |/ / / / / /
* | | | | | | Merge pull request #14926 from numpy/dependabot/pip/pytest-5.2.4Matti Picus2019-11-181-1/+1
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | MAINT: Bump pytest from 5.2.2 to 5.2.4
| * | | | | | MAINT: Bump pytest from 5.2.2 to 5.2.4dependabot-preview[bot]2019-11-181-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.2.2 to 5.2.4. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/5.2.2...5.2.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | | | | | Merge pull request #14921 from mattip/coverage-refcountCharles Harris2019-11-163-1/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | TST: add no_tracing decorator to refcount-sensitive codepath tests
| * | | | | | TST: with no_tracing, coverage tests pass on python3.7mattip2019-11-161-1/+1
| | | | | | |
| * | | | | | TST: turn off tracing for np.resize testsmattip2019-11-162-0/+10
|/ / / / / /
* | | | | | DOC: Note FFT type promotion (#14912)Daniel Ching2019-11-151-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DOC: Note FFT type promotion The NumPy FFT implementation will promote `float32` types to `float64` types. This may not be desired for some applications, but the SciPy implementation supports more data types. Closes #14892
* | | | | | Merge pull request #14907 from charris/test-IBMCharles Harris2019-11-151-5/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | TST: Add s390x to the TravisCI test matrix.
| * | | | | | TST: See if we can run s390x on TravisCI.Charles Harris2019-11-141-5/+11
| | | | | | |
* | | | | | | Merge pull request #14914 from charris/test-3.8-on-windowsCharles Harris2019-11-151-0/+10
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | WIP, TST: Test with Python3.8 on Windows.
| * | | | | | TST: Test with Python3.8 on Windows.Charles Harris2019-11-151-0/+10
|/ / / / / /
* | | | | | Merge pull request #14878 from mattip/remove-sse2Warren Weckesser2019-11-141-5/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | BUILD: remove SSE2 flag from numpy.random builds
| * | | | | | BUILD: remove SSE2 flag from numpy.random buildsmattip2019-11-111-5/+0
| | | | | | |
* | | | | | | Merge pull request #14901 from eric-wieser/remove-uses-of-scalar-aliasesMatti Picus2019-11-1427-79/+77
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | MAINT: Remove uses of scalar aliases
| * | | | | | | MAINT: Remove uses of scalar aliasesEric Wieser2019-11-1327-79/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to gh-6103
* | | | | | | | Merge pull request #14879 from Carreau/update-nep-29Matti Picus2019-11-131-2/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | DOC: Update NEP29 with Python3.8 informations.
| * | | | | | | | DOC: Update NEP29 with Python3.8 informations.Matthias Bussonnier2019-11-111-2/+5
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Regenerate the tables.
* | | | | | | | Merge pull request #14820 from eric-wieser/template-loopsMatti Picus2019-11-132-217/+74
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | MAINT: Use templating to merge float loops
| * | | | | | | | MAINT: Use templating to merge float loopsEric Wieser2019-11-012-217/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This deduplicates a bunch of code, making this file shorter and slightly more manageable. Note that this requires us to adjust the api parser to process templated files.
* | | | | | | | | Merge pull request #14899 from Dr-G/patch-1Charles Harris2019-11-131-0/+1
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | Update FUNDING.yml
| * | | | | | | | Update FUNDING.ymlGina2019-11-131-0/+1
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add NumFOCUS github sponsors button (recurring donations only) This feature is launching today at GitHub Universe!
* | | | | | | | Merge pull request #14898 from eric-wieser/delete-generated-fileMatti Picus2019-11-133-1593/+3
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | MAINT: Delete and ignore generated files
| * | | | | | | MAINT: Delete and ignore generated filesEric Wieser2019-11-133-1593/+3
|/ / / / / / /
* | | | | | | Merge pull request #14881 from eric-wieser/dont-export-builtins-in-__all__Matti Picus2019-11-121-3/+7
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | BUG: Remove builtins from __all__
| * | | | | | BUG: Remove builtins from __all__Eric Wieser2019-11-121-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was introduced in 3ca0eb1136102ff01bcc171f53c106326fa4445b, due to an incorrect implementation of `__dir__` (fixed in the previous commit). It was never released, so this is not a breaking change. In that commit, `from numpy import *` would reset all the builtins to their defaults, and set `unicode = str`, `long = int`.
| * | | | | | BUG: Fix np.__dir__ to correctly handle new propertiesEric Wieser2019-11-111-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously this would fail, but only on python 3.7+ ``` np.new_member = 1 assert 'new_member' in dir(np) ``` While this isn't something we support anyway, it certainly wasn't intentional.
* | | | | | Merge pull request #14874 from charris/post-1.17.4-updateRalf Gommers2019-11-103-0/+76
|\ \ \ \ \ \ | | | | | | | | | | | | | | REL: Update master after 1.17.4 release.
| * | | | | | REL: Update master after 1.17.4 release.Charles Harris2019-11-103-0/+76
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Create 1.17.4-changelog.rst - Create 1.17.4-notes.rst - Update release.rst
* | | | | | Merge pull request #14842 from mattip/shippable-updateCharles Harris2019-11-061-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | BLD: add 'apt update' to shippable
| * | | | | | BLD: add 'apt update' to shippablemattip2019-11-061-0/+1
| | | | | | |
* | | | | | | Merge pull request #14845 from mattip/revert-14800Charles Harris2019-11-068-51/+23
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | MAINT: revert gh-14800, which gave precedence to OO->O over OO->?