summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | Merge pull request #21835 from NamamiShanker/test_changesRohit Goswami2022-06-231-3/+24
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | TST: Add f2py CLI tests
| * | | | | | | | | TST: Tighten test_gen_pyf_stdout checkNamami Shanker2022-06-231-0/+1
| | | | | | | | | |
| * | | | | | | | | TST: Add f2py2e f2cmap flag testNamami Shanker2022-06-231-3/+23
| | |_|/ / / / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #12065 from MilesCranmer/masterSebastian Berg2022-06-232-31/+244
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | MAINT: Optimize np.isin and np.in1d for integer arrays
| * | | | | | | | | TST: Skip empty arrays for kind="table"Miles Cranmer2022-06-221-5/+7
| | | | | | | | | |
| * | | | | | | | | TST: Reduce code re-use with pytest markMilesCranmer2022-06-221-142/+40
| | | | | | | | | |
| * | | | | | | | | MAINT: Fix edgecase for bool containersMilesCranmer2022-06-221-2/+2
| | | | | | | | | |
| * | | | | | | | | DOC: Rephrase docstring of in1d/isinMilesCranmer2022-06-221-2/+2
| | | | | | | | | |
| * | | | | | | | | MAINT: Remove positionality of kind in isinMilesCranmer2022-06-221-2/+2
| | | | | | | | | |
| * | | | | | | | | MAINT: Minor suggestions from code reviewMiles Cranmer2022-06-221-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
| * | | | | | | | | DOC: Notes on `kind` to in1d/isin docstringMilesCranmer2022-06-201-10/+18
| | | | | | | | | |
| * | | | | | | | | DOC: `assume_unique` does not affect table methodMilesCranmer2022-06-201-4/+8
| | | | | | | | | |
| * | | | | | | | | DOC: Improve clarity of in1d docstringMilesCranmer2022-06-201-6/+6
| | | | | | | | | |
| * | | | | | | | | MAINT: change kind names for in1dMilesCranmer2022-06-182-49/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Switch dictionary->table, mergesort->sort
| * | | | | | | | | DOC: Fix list format for sphinxMiles Cranmer2022-06-181-9/+11
| | | | | | | | | |
| * | | | | | | | | DOC: Add missing indent in docstringMiles Cranmer2022-06-181-1/+1
| | | | | | | | | |
| * | | | | | | | | DOC: Fix formatting issues in docstringMilesCranmer2022-06-171-4/+2
| | | | | | | | | |
| * | | | | | | | | TST: validate in1d errorsMilesCranmer2022-06-171-0/+34
| | | | | | | | | |
| * | | | | | | | | MAINT: RuntimeError for unexpected integer overflowMilesCranmer2022-06-171-0/+7
| | | | | | | | | |
| * | | | | | | | | MAINT: Clean up integer overflow check in in1dMilesCranmer2022-06-171-11/+5
| | | | | | | | | |
| * | | | | | | | | MAINT: Clean up memory checking for in1dMilesCranmer2022-06-171-11/+9
| | | | | | | | | |
| * | | | | | | | | MAINT: Protect against integer overflow in in1dMilesCranmer2022-06-171-3/+6
| | | | | | | | | |
| * | | | | | | | | MAINT: kind now uses "mergesort" instead of "sort"MilesCranmer2022-06-172-27/+27
| | | | | | | | | |
| * | | | | | | | | TST: Use new "kind" argument over "method"MilesCranmer2022-06-171-20/+20
| | | | | | | | | |
| * | | | | | | | | MAINT: Switch parameter name to 'kind' over 'method'MilesCranmer2022-06-171-24/+28
| | | | | | | | | |
| * | | | | | | | | MAINT: Switch to old in1d for large memory usageMilesCranmer2022-06-171-13/+18
| | | | | | | | | |
| * | | | | | | | | MAINT: Fix misplaced default in in1d testMilesCranmer2022-06-101-2/+2
| | | | | | | | | |
| * | | | | | | | | MAINT: Add back in1d tests of old methodMilesCranmer2022-06-101-17/+17
| | | | | | | | | |
| * | | | | | | | | DOC: Describe memory considerations in in1d/isinMilesCranmer2022-06-101-10/+22
| | | | | | | | | |
| * | | | | | | | | DOC: Clean up isin docstringMilesCranmer2022-06-101-3/+3
| | | | | | | | | |
| * | | | | | | | | MAINT: bool instead of np.bool_ dtypeMilesCranmer2022-06-102-7/+7
| | | | | | | | | |
| * | | | | | | | | DOC: Improve docstring explanationMilesCranmer2022-06-101-2/+2
| | | | | | | | | |
| * | | | | | | | | MAINT: Formatting changes for in1dMiles Cranmer2022-06-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Hameer Abbasi <2190658+hameerabbasi@users.noreply.github.com>
| * | | | | | | | | MAINT: Fix error messageMilesCranmer2022-06-101-1/+2
| | | | | | | | | |
| * | | | | | | | | MAINT: Fix use of dispatcher for isinMilesCranmer2022-06-101-2/+2
| | | | | | | | | |
| * | | | | | | | | DOC: Describe default in docstringMilesCranmer2022-06-101-2/+2
| | | | | | | | | |
| * | | | | | | | | MAINT: Fix linting error in testMilesCranmer2022-06-101-1/+2
| | | | | | | | | |
| * | | | | | | | | DOC: Specify constraints of method in docstringMilesCranmer2022-06-101-2/+4
| | | | | | | | | |
| * | | | | | | | | MAINT: Update tests to use new `method` argumentMilesCranmer2022-06-101-19/+20
| | | | | | | | | |
| * | | | | | | | | Add check for methodsMilesCranmer2022-06-101-0/+10
| | | | | | | | | |
| * | | | | | | | | MAINT: Change `_slow_integer` parameter to `method`MilesCranmer2022-06-101-16/+31
| | | | | | | | | |
| * | | | | | | | | MAINT: Fix linting errors in in1d testsMilesCranmer2022-06-092-9/+20
| | | | | | | | | |
| * | | | | | | | | TST: Extend np.in1d tests to old algorithmMilesCranmer2022-06-092-9/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add flag ``_slow_integer`` to np.isin/np.in1d to force the use of the old isin/in1d algorithm for integers.
| * | | | | | | | | MAINT: Check for overflow in integral np.isinMilesCranmer2022-06-091-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Before this fix, if, e.g., int8(-100) and int8(100) are the min and max, respectively, of ar2, ar2_range would experience an integer overflow and optimal_parameters would be an invalid value. ``if optimal_parameters:`` would skip the fast integer algorithm regardless, but warnings would be generated when they are unnecessary. - np.log10(... + 1) was changed to np.log10(... + 1.0) to avoid further potential problems from overflow here. - See https://github.com/numpy/numpy/pull/12065 for discussion.
| * | | | | | | | | TST: add tests for in1d/isinMilesCranmer2022-06-091-0/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - These tests hit the areas of the old algorithm which are now replaced for the majority of cases - Another test tests behaviour of boolean input to isin/in1d
| * | | | | | | | | MAINT: Optimize np.isin for boolean arraysMilesCranmer2022-06-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This change converts boolean input to numpy.isin and numpy.in1d into uint8, allowing the function to use the new optimized code
| * | | | | | | | | MAINT: Optimize np.isin for integer arraysMilesCranmer2022-06-091-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This optimization indexes with an intermediary boolean array to speed up numpy.isin and numpy.in1d for integer arrays over a range of optimal parameters which are calculated.
* | | | | | | | | | Merge pull request #21830 from Anselmoo/fixSebastian Berg2022-06-231-1/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | DOC: Change substract to subtract in comment
| * | | | | | | | | | fix: :bug: Change substract to subtractAnselm Hahn2022-06-231-1/+1
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | #21829
* | | | | | | | | | Merge pull request #21797 from karlotness/enh-np-requireSebastian Berg2022-06-231-11/+13
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | MAINT: Reduce object construction in np.require