summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | Merge pull request #23591 from ngoldbaum/refactor-zeroSebastian Berg2023-04-2012-88/+190
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ENH: refactor zero-filling and expose dtype API slot for it
| | * | | | | | | | | | | | DOC: warn against using zero-filling loop with a previously allocated arrayNathan Goldbaum2023-04-192-0/+6
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | MAINT: housecleaning for traversal loop setup and implementationsNathan Goldbaum2023-04-195-89/+96
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | MAINT: support traversal loops without initializing the descriptorNathan Goldbaum2023-04-191-1/+2
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | MNT: respond to review commentsNathan Goldbaum2023-04-192-15/+11
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | MAINT: refactor zero-filling to use a traversal loopNathan Goldbaum2023-04-186-77/+131
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | ENH: Refactor special zero-filling to be managed by the DTypeNathan Goldbaum2023-04-187-49/+87
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | MAINT: correct typos in dtype API documentation commentsNathan Goldbaum2023-04-181-3/+3
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Merge pull request #23557 from mhvk/arrayprint-subformat-use-thresholdMarten van Kerkwijk2023-04-192-10/+63
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / | |/| | | | | | | | | | | | ENH: Use threshold also inside SubArrayFormat.
| | * | | | | | | | | | | | ENH: Use threshold also inside SubArrayFormat.Marten van Kerkwijk2023-04-072-10/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, for structured arrays that contain a lot of elements, those are always all shown, independent of the threshold print option. This PR ensures that threshold and edgeitems are respected. Note that multidimensional items are typeset without line breaks, to avoid breaking up the structure. Hence, this does not solve the issue that structured array elements can easily overfill a line on the console.
| * | | | | | | | | | | | | BUG, BLD: Fix indentation bug in distutilsCharles Harris2023-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug in distutils that prevented the use of the C++ linker needed to link _multiarray_umath. Fixes #23595
| * | | | | | | | | | | | | BLD: use the C++ linker to link `_multiarray_umath.so`Ralf Gommers2023-04-161-3/+0
| | |_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gets rid of undefined symbol issues for `assert`. Closes gh-23122 Closes gh-23595
| * | | | | | | | | | | | MAINT: Update conftest for hypothesisRohit Goswami2023-04-161-1/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | DNM: test some more `selected_real_kind` results [skip azurepipelines]Derek Homeier2023-04-151-3/+24
| | | | | | | | | | | | |
| * | | | | | | | | | | | BUG: include macOS arm64 `machine()` value in `_selected_real_kind_func`Derek Homeier2023-04-152-5/+5
| | | | | | | | | | | | |
| * | | | | | | | | | | | BUG: lib: Tiny fix for the loadtxt tokenizer when PyMem_Malloc() fails.warren2023-04-141-0/+2
| | | | | | | | | | | | |
| * | | | | | | | | | | | DOC: Add example for Polynomial.degree(). (#23530)Stefanie Molin2023-04-131-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Include additional example about 0-coefficients and the trim method. Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
| * | | | | | | | | | | | DOC: Add Examples section to np.ma.sort docstring (#23392)Somasree Majumder2023-04-131-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
| * | | | | | | | | | | | Merge pull request #23275 from byrdie/bugfix/logspace-base-broadcastSebastian Berg2023-04-122-5/+47
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / / | |/| | | | | | | | | | | ENH: Modify `np.logspace` so that the `base` argument broadcasts against `start` and `stop`
| | * | | | | | | | | | | ENH: Modify `numpy.logspace` so that the `base` argument broadcasts ↵Roy Smart2023-03-062-5/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | correctly against `start` and `stop`.
| * | | | | | | | | | | | MAINT: remove usages of sys.exc_info (#23568)Irit Katriel2023-04-111-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is similar to #15248, removing the remaining usages of sys.exc_info() that are no longer necessary.
| * | | | | | | | | | | | BUG: accept zeros on numpy.random dirichlet function (#23440)Paulo Almeida2023-04-112-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed alpha value error to pass a null value. This way, dirichlet function (on the generator, not mtrand) won't raise a value exception at 0. Also added test.
| * | | | | | | | | | | | TST: try readding test_new_policy on muslAndrew Nelson2023-04-111-2/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | DOC: Update wording and xref domain from polynomial roots docstring #23374 ↵Younes2023-04-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#23382)
| * | | | | | | | | | | | DOC: Add docstring examples for np.ma.right_shift (#23393)Somasree Majumder2023-04-101-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Charles Harris <charlesr.harris@gmail.com> Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
| * | | | | | | | | | | | Merge pull request #23559 from andyfaff/gh23538Charles Harris2023-04-102-2/+9
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | BLD: add static to std_c_flags program. Move macosx_arm64 wheel build to cirrus. Add regular macosx_arm64 job (closes #23538, #21765)
| | * | | | | | | | | | | | MAINT: Fix wrong date in comment.Charles Harris2023-04-101-1/+1
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | MAINT: add arm64 to f2py's selected_real_kindAndrew Nelson2023-04-091-1/+1
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | BLD: remove -ftrapping-math on macosx_arm64Andrew Nelson2023-04-081-1/+8
| | | |/ / / / / / / / / / | | |/| | | | | | | | | |
| * | | | | | | | | | | | Merge pull request #23555 from ngoldbaum/deprecate-np-mathRalf Gommers2023-04-083-3/+35
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DEP: deprecate np.math and np.lib.math [skip ci]
| | * | | | | | | | | | | DEP: deprecate np.math and np.lib.mathNathan Goldbaum2023-04-073-3/+35
| | | | | | | | | | | | |
| * | | | | | | | | | | | BLD: fix instances of MSVC detection in `meson.build`Ralf Gommers2023-04-072-4/+3
| | |/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows clang-cl and other MSVC-compatible compilers to build correctly. Closes gh-23506 [skip cirrus] [skip circle] [skip azp] Co-authored-by: Alexander Neumann <Alexander.Neumann@hamburg.de>
| * | | | | | | | | | | Merge pull request #23519 from F3eQnxN3RriK/fix-builtin-lenTyler Reddy2023-04-061-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | DOC: Fix a reference to built-in `len` in `char.str_len` docstring
| | * | | | | | | | | | | DOC: Fix a reference to built-in `len` in `char.str_len` docstringyuki2023-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Built-in function `len()` should not have prefix `builtins.`, so removed it to fix the reference.
| * | | | | | | | | | | | ENH: ``__repr__`` for NpzFile object (#23357)Ganesh Kathiresan2023-04-063-2/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improves the repr to include information about the arrays contained, e.g.: >>> npzfile = np.load('arr.npz') >>> npzfile NpzFile 'arr.npz' with keys arr_0, arr_1, arr_2, arr_3, arr_4... closes #23319 Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
| * | | | | | | | | | | | Merge pull request #23495 from AlekseiNikiforovIBM/pytorch_fixesCharles Harris2023-04-052-7/+14
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | BUG: fix loading and storing big arrays on s390x
| | * | | | | | | | | | | BUG: fix loading and storing big arrays on s390xAleksei Nikiforov2023-03-302-7/+14
| | | | | | | | | | | | |
| * | | | | | | | | | | | Merge pull request #23521 from seiko2plus/cpp_2017Charles Harris2023-04-046-54/+7
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ENH: Raise C++ standard to C++17
| | * | | | | | | | | | | | ENH: Raise C++ standard to C++17Sayed Adel2023-04-046-54/+7
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | DOC: Add example for np.ma.compressed. (#23426)Stefanie Molin2023-04-041-0/+23
| | |_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DOC: Add example to np.ma.compressed(). * Update example. * Update core.py
| * | | | | | | | | | | | Fixed failing testsMatteo Raso2023-04-012-16/+39
| | | | | | | | | | | | |
| * | | | | | | | | | | | Fixed docstring testMatteo Raso2023-04-011-1/+2
| | | | | | | | | | | | |
| * | | | | | | | | | | | Fixed edge case where pyfunc has no attribute `__doc__`Matteo Raso2023-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [skip circle] [skip azp] [skip cirrus]
| * | | | | | | | | | | | Fixed edge case where pyfunc has no attribute `__name__`Matteo Raso2023-04-012-51/+134
| | | | | | | | | | | | |
| * | | | | | | | | | | | Merge pull request #23498 from ngoldbaum/buffer-error-fixCharles Harris2023-03-311-3/+11
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAINT: improve error when a dtype doesn't support the buffer interface
| | * | | | | | | | | | | | MAINT: revert change to legacy pathNathan Goldbaum2023-03-301-1/+1
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | MAINT: fix compiling on MUSLNathan Goldbaum2023-03-301-3/+2
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | MAINT: improve error when a dtype doesn't support the buffer interfaceNathan Goldbaum2023-03-301-3/+12
| | | |_|/ / / / / / / / / | | |/| | | | | | | | | |
| * | | | | | | | | | | | Merge pull request #23504 from seberg/decref-delCharles Harris2023-03-313-3/+0
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOC: Remove doc for non-existing `PyArray_XDECREF_ERR`
| | * | | | | | | | | | | | MAINT: Remove reference to PyArray_GetArrayParamsFromObjectCharles Harris2023-03-311-1/+0
| | | | | | | | | | | | | |