Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DOC: Document ma.filled behavior with non-scalar fill_value (#13698) | Kriti Singh | 2019-11-23 | 1 | -8/+33 |
| | | | * DOC: Document and deprecate ma.filled behavior with non-scalar fill_value | ||||
* | MAINT: Cleaned up mintypecode for Py3 (#14967) | Joseph Fox-Rabinovitz | 2019-11-23 | 1 | -6/+4 |
| | | | | | Using generators instead of full-blown lists Using set for search instead of list Using min to get single element insteaf of sorting full list | ||||
* | TST: skip if cython is not available | mattip | 2019-11-22 | 1 | -0/+6 |
| | |||||
* | Merge pull request #14932 from mproszewska/doc-tolist | Matti Picus | 2019-11-21 | 1 | -6/+13 |
|\ | | | | | DOC: Compare 'tolist' function to 'list' in example | ||||
| * | Add changes to run tests again | mpro | 2019-11-19 | 1 | -1/+1 |
| | | |||||
| * | Apply proposed changes | mpro | 2019-11-18 | 1 | -6/+3 |
| | | |||||
| * | Doc: Compare 'tolist' function to 'list' in example | mpro | 2019-11-18 | 1 | -4/+14 |
| | | |||||
* | | ENH: add isinf, isnan, fmin, fmax loops for datetime64, timedelta64 (#14841) | Matti Picus | 2019-11-21 | 5 | -38/+90 |
| | | | | | | | | | | | | | | | | `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-examples | Matti Picus | 2019-11-21 | 4 | -21/+37 |
|\ \ | | | | | | | DOC: Clean up examples of low-level random access | ||||
| * | | DOC: Clean up examples of low-level random access | Kevin Sheppard | 2019-11-21 | 4 | -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 Zwicker | 2019-11-21 | 2 | -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-examples | Charles Harris | 2019-11-20 | 9 | -5/+4 |
|\ \ | | | | | | | MAINT: move numpy/random/examples -> numpy/random/_examples | ||||
| * | | DOC, MAINT: fix documentation, remove __init__.py | mattip | 2019-11-20 | 1 | -0/+0 |
| | | | |||||
| * | | MAINT: move numpy/random/examples -> numpy/random/_examples | mattip | 2019-11-19 | 9 | -5/+4 |
| | | | |||||
* | | | DOC: testing: Note handling of scalars in assert_array_equal and assert_equal. | Warren Weckesser | 2019-11-20 | 1 | -5/+22 |
|/ / | |||||
* | | DOC: Clarify return type for default rng | Kevin Sheppard | 2019-11-19 | 1 | -3/+7 |
| | | | | | | | | Ensure that default_rng has a return type to improve code completion | ||||
* | | API: restructure and document numpy.random C-API (#14604) | Matti Picus | 2019-11-19 | 19 | -78/+130 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | | TST: turn off tracing for np.resize tests | mattip | 2019-11-16 | 2 | -0/+10 |
| | | |||||
* | | DOC: Note FFT type promotion (#14912) | Daniel Ching | 2019-11-15 | 1 | -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 #14878 from mattip/remove-sse2 | Warren Weckesser | 2019-11-14 | 1 | -5/+0 |
|\ \ | | | | | | | BUILD: remove SSE2 flag from numpy.random builds | ||||
| * | | BUILD: remove SSE2 flag from numpy.random builds | mattip | 2019-11-11 | 1 | -5/+0 |
| | | | |||||
* | | | Merge pull request #14901 from eric-wieser/remove-uses-of-scalar-aliases | Matti Picus | 2019-11-14 | 22 | -74/+72 |
|\ \ \ | | | | | | | | | MAINT: Remove uses of scalar aliases | ||||
| * | | | MAINT: Remove uses of scalar aliases | Eric Wieser | 2019-11-13 | 22 | -74/+72 |
| | | | | | | | | | | | | | | | | Relates to gh-6103 | ||||
* | | | | Merge pull request #14820 from eric-wieser/template-loops | Matti Picus | 2019-11-13 | 2 | -217/+74 |
|\ \ \ \ | |/ / / |/| | | | MAINT: Use templating to merge float loops | ||||
| * | | | MAINT: Use templating to merge float loops | Eric Wieser | 2019-11-01 | 2 | -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. | ||||
* | | | | MAINT: Delete and ignore generated files | Eric Wieser | 2019-11-13 | 3 | -1593/+3 |
| | | | | |||||
* | | | | BUG: Remove builtins from __all__ | Eric Wieser | 2019-11-12 | 1 | -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 properties | Eric Wieser | 2019-11-11 | 1 | -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. | ||||
* | | | MAINT: revert gh-14800, which gave precedence to OO->O over OO->? | mattip | 2019-11-06 | 7 | -37/+23 |
| | | | |||||
* | | | BUG: raise ValueError for empty arrays passed to _pyarray_correlate (#14829) | Doug Davis | 2019-11-06 | 2 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | * BUG: raise ValueError for empty arrays passed to _pyarray_correlate This is related to GitHub issue #14366 where empty arrays were causing crashes. | ||||
* | | | MAINT: move buffer.h -> npy_buffer.h to avoid conflicts | mattip | 2019-11-04 | 11 | -10/+10 |
| | | | |||||
* | | | Merge pull request #14827 from chrisburr/patch-1 | Charles Harris | 2019-11-04 | 1 | -1/+2 |
|\ \ \ | | | | | | | | | BLD: Prevent -flto from optimising long double representation check away | ||||
| * | | | BLD: Review feedback for clang -flto fix | Chris Burr | 2019-11-05 | 1 | -1/+2 |
| | | | | |||||
| * | | | BLD: Prevent -flto from optimising long double representation check away | Chris Burr | 2019-11-04 | 1 | -1/+1 |
| | |/ | |/| | |||||
* | | | Merge pull request #14800 from mattip/reorder-obj-comparison-loop | Charles Harris | 2019-11-04 | 8 | -30/+52 |
|\ \ \ | | | | | | | | | ENH: change object-array comparisons to prefer OO->O unfuncs | ||||
| * | | | ENH: add OO->? loops, use np.compare(a, b, dtype=bool), add comments | mattip | 2019-10-30 | 6 | -8/+26 |
| | | | | |||||
| * | | | WIP, DEP, ENH: finish richcompare changes from 1.10 | mattip | 2019-10-29 | 7 | -25/+29 |
| | | | | |||||
* | | | | DOC: Add take_along_axis to the see also section in argmin, argmax etc. (#14799) | mproszewska | 2019-11-04 | 1 | -1/+37 |
| | | | | | | | | | | | | * Add take_along_axis to the see also section in argmin, argmax, argsort and argpartition and add examples | ||||
* | | | | Merge pull request #14805 from eric-wieser/no-Fractions-from-np-scalars | Matti Picus | 2019-11-04 | 1 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | TST: Don't construct Fraction instances from numpy scalars | ||||
| * | | | | TST: Don't construct Fraction instances from numpy scalars | Eric Wieser | 2019-10-30 | 1 | -2/+2 |
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | Fraction.__float__ gives a DeprecationWarning if the division results in a non-builtin float This was never intended as part of the test anyway. | ||||
* | | | | Merge pull request #14814 from eric-wieser/rename-rank | Matti Picus | 2019-11-03 | 1 | -40/+37 |
|\ \ \ \ | | | | | | | | | | | Rename helper functions to not use the word rank | ||||
| * | | | | Rename helper functions to not use the word rank | Eric Wieser | 2019-10-31 | 1 | -40/+37 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | As shown in gh-10471, this naming was confusing. Also rename all the functions of this style to use snake case | ||||
* | | | | merge latest changes on master branch | RedRuM | 2019-11-03 | 214 | -3731/+9041 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Merge pull request #14227 from zjpoh/from_string_complex | Matti Picus | 2019-10-31 | 3 | -2/+92 |
| |\ \ \ | | | | | | | | | | | ENH: Parse complex number from string | ||||
| | * | | | Fix style per Sebastian's comments | zjpoh | 2019-10-15 | 3 | -17/+11 |
| | | | | | |||||
| | * | | | Update per Sebastian's comments | zjpoh | 2019-10-06 | 3 | -7/+14 |
| | | | | | |||||
| | * | | | Add deprecation warning for invalid complex string | zjpoh | 2019-09-26 | 2 | -5/+26 |
| | | | | | |||||
| | * | | | Merge branch 'master' into from_string_complex | zjpoh | 2019-09-26 | 180 | -2364/+6216 |
| | |\ \ \ | |||||
| | * | | | | Add parenthesis as suggested by compiler. Update docstring. | zjpoh | 2019-08-19 | 3 | -3/+8 |
| | | | | | | |||||
| | * | | | | Parse complex number from string | zjpoh | 2019-08-07 | 2 | -1/+64 |
| | | | | | |