| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | DOC: fix docstrings.pr/19857 | Charles Harris | 2021-10-08 | 2 | -325/+514 |
| | | | | | | Hopefully fix the docstrings of percentile, nanpercentile, quantile, and nanquantile so that CircleCI passes. | ||||
| * | MAINT, ENH [#10736] Add interpolation methods to quantile | abel | 2021-10-06 | 3 | -194/+788 |
| | | | | | | | | | | | - Added the missing linear interpolation methods. - Updated the existing unit tests. - Added pytest.mark.xfail for boolean arrays See - https://github.com/numpy/numpy/pull/19857#issuecomment-919258693 - https://github.com/numpy/numpy/issues/19154 | ||||
| * | TST: Make nanfunc test ignore overflow instead of xfailing test | Sebastian Berg | 2021-09-07 | 1 | -3/+1 |
| | | | | | | | This makes the test more precise, and I ran into having to broaden the xfails otherwise, because right now reduce-likes incorrectly faile to give floating point warnings (and I was fixing that). | ||||
| * | Merge pull request #19821 from BvB93/nanfunctions | Charles Harris | 2021-09-05 | 2 | -75/+89 |
| |\ | | | | | BUG: Fixed an issue wherein certain `nan<x>` functions could fail for object arrays | ||||
| | * | MAINT: Let `_remove_nan_1d` attempt to identify nan-containing object arrays | Bas van Beek | 2021-09-05 | 1 | -2/+4 |
| | | | | | | | | | Use the same approach as in numpy/numpy#9013 | ||||
| | * | MAINT: Copy the `_methods._std` code-path for handling `nanstd` object-arrays | Bas van Beek | 2021-09-04 | 1 | -6/+3 |
| | | | | | | | | | https://github.com/numpy/numpy/blob/410a89ef04a2d3c50dd2dba2ad403c872c3745ac/numpy/core/_methods.py#L265-L270 | ||||
| | * | TST: Add more tests for `nanmedian`, `nanquantile` and `nanpercentile` | Bas van Beek | 2021-09-03 | 1 | -0/+17 |
| | | | |||||
| | * | TST: Expand the old `TestNanFunctions_IntTypes` test with non-integer number ↵ | Bas van Beek | 2021-09-03 | 1 | -71/+52 |
| | | | | | | | | | types | ||||
| | * | BUG: Fixed an issue wherein certain `nan<x>` functions could fail for object ↵ | Bas van Beek | 2021-09-03 | 1 | -3/+20 |
| | | | | | | | | | arrays | ||||
| * | | Merge pull request #18884 from seiko2plus/breathe_doxygen | Matti Picus | 2021-09-05 | 2 | -0/+3 |
| |\ \ | | | | | | | DOC: Add support for documenting C/C++ via Doxygen & Breathe | ||||
| | * | | DOC: Add support for documenting C/C++ via Doxygen & Breathe | Sayed Adel | 2021-08-30 | 2 | -0/+3 |
| | | | | |||||
| * | | | STY: Small cleanups of includes in *.c files. | Charles Harris | 2021-09-03 | 64 | -197/+203 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This puts the following numpy defines at the top of the files before the includes. define NPY_NO_DEPRECATED_API NPY_API_VERSION define _MULTIARRAYMODULE define _UMATHMODULE There are also minor cleanups of <...> vs "..." include styles together with a small fix to the .clang-format file to include "pymem.h" among the Python supplied headers. Further cleanups will follow if clang-format is used on the files but that is not done here. | ||||
| * | | | Merge pull request #19810 from charris/update-some-includes | Charles Harris | 2021-09-03 | 71 | -105/+144 |
| |\ \ \ | | | | | | | | | MAINT: Minor include rationalizations. | ||||
| | * | | | MAIN: Minor include rationalization. | Charles Harris | 2021-09-03 | 71 | -105/+144 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Replace "Python.h" by <Python.h> - Replace "structmember.h" by <structmember.h> - Replace <npy_config> by "npy_config" - Define PY_SSIZE_T_CLEAN before all Python.h includes in .c files. | ||||
| * | | | | Merge pull request #19818 from sistaseetaram/related-to-#19077 | Charles Harris | 2021-09-03 | 2 | -4/+3 |
| |\ \ \ \ | | | | | | | | | | | MAINT: fix unhashable instance and potential exception identified by LGTM. | ||||
| | * | | | | fix unhashable instance and potential exception identified by LGTM | Sista Seetaram | 2021-09-03 | 2 | -2/+1 |
| | | | | | | |||||
| | * | | | | fixed unhashable instance and potential exception as listed in LGTM#19077 | Sista Seetaram | 2021-09-03 | 2 | -3/+3 |
| | | | | | | |||||
| * | | | | | Merge pull request #19809 from charris/fix-compiler-warnings | Charles Harris | 2021-09-03 | 1 | -6/+6 |
| |\ \ \ \ \ | |_|_|_|/ |/| | | | | MAINT: Fix compiler warnings generated by convert_datatype.h. | ||||
| | * | | | | MAINT: Fix warnings generated by convert_datatype.h | Charles Harris | 2021-09-01 | 1 | -6/+6 |
| | | |/ / | |/| | | | | | | | | | | | | | | The convert_datatype.h file needs to be updated with sized arrays to match the function definitions in convert_datatype.c. | ||||
| * | | | | Merge pull request #19803 from BvB93/is_integer | Charles Harris | 2021-09-02 | 6 | -9/+117 |
| |\ \ \ \ | |_|/ / |/| | | | ENH: Add `is_integer` to `np.floating` & `np.integer` | ||||
| | * | | | STY: Use a more descriptive variable name | Bas van Beek | 2021-09-02 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | Co-Authored-By: Charles Harris <charlesr.harris@gmail.com> | ||||
| | * | | | DOC: Misc documentation improvements | Bas van Beek | 2021-08-31 | 1 | -1/+5 |
| | | | | | |||||
| | * | | | ENH: Add `integer.is_integer` | Bas van Beek | 2021-08-31 | 5 | -2/+37 |
| | | | | | | | | | | | | | | | | | Match `int.is_integer`, which was added in python/cpython#6121 | ||||
| | * | | | TST: Add tests for `np.floating.is_integer` | Bas van Beek | 2021-08-31 | 2 | -1/+22 |
| | | | | | |||||
| | * | | | ENH: Add `is_integer` to the `np.floating` subclasses | Bas van Beek | 2021-08-31 | 3 | -7/+55 |
| | | | | | |||||
| * | | | | Merge pull request #19815 from mwtoews/maint-ioerror | Charles Harris | 2021-09-02 | 20 | -47/+47 |
| |\ \ \ \ | | | | | | | | | | | MAINT: revise OSError aliases (IOError, EnvironmentError) | ||||
| | * | | | | MAINT: revise OSError aliases (IOError, EnvironmentError) | Mike Taves | 2021-09-02 | 20 | -47/+47 |
| | | | | | | |||||
| * | | | | | TST: Update the IO-related typing tests | Bas van Beek | 2021-09-02 | 2 | -3/+22 |
| | | | | | | |||||
| * | | | | | MAINT: Make the `_SupportsGetItem` protocol positional-only | Bas van Beek | 2021-09-02 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | ENH: Use custom file-like protocols instead of `typing.IO` | Bas van Beek | 2021-09-02 | 3 | -22/+49 |
| | | | | | | |||||
| * | | | | | DEP: Deprecate quote_args (from numpy.distutils.misc_util) | Mike Taves | 2021-09-02 | 1 | -1/+8 |
| |/ / / / | |||||
| * | | | | Merge pull request #19781 from mwtoews/foreach-item | Matti Picus | 2021-09-01 | 8 | -75/+72 |
| |\ \ \ \ | | | | | | | | | | | MAINT: refactor "for ... in range(len(" statements | ||||
| | * | | | | MAINT: refactor "for ... in range(len(" statements | Mike Taves | 2021-09-01 | 8 | -75/+72 |
| | | |_|/ | |/| | | |||||
| * | | | | STY: Use the PEP 457 positional-only syntax in `numpy.typing` | Bas van Beek | 2021-08-31 | 2 | -100/+102 |
| | | | | | |||||
| * | | | | STY: Use the PEP 457 positional-only syntax in the stub files | Bas van Beek | 2021-08-31 | 10 | -135/+168 |
| | |/ / |/| | | |||||
| * | | | BLD: Drop typing extension as an (optional) runtime dependency | Bas van Beek | 2021-08-30 | 2 | -42/+0 |
| | | | | | | | | | | | | | It might return in the future, but as of the moment we don't need it anymore | ||||
| * | | | MAINT: Drop .pyi code-paths specific to Python 3.7 | Bas van Beek | 2021-08-30 | 33 | -199/+57 |
| | | | | |||||
| * | | | MAINT: Drop .py code-paths specific to Python 3.7 | Bas van Beek | 2021-08-30 | 7 | -570/+417 |
| |/ / | |||||
| * | | Merge pull request #19715 from yashasvimisra2798/casting_patch1 | Matti Picus | 2021-08-29 | 2 | -1/+12 |
| |\ \ | | | | | | | BUG: Casting bool_ to float16 | ||||
| | * | | lint: fix flake8 errors | Yashasvi Misra | 2021-08-27 | 1 | -2/+1 |
| | | | | | | | | | | | | | Signed-off-by: Yashasvi Misra <yashasvimisra_bh@srmuniv.edu.in> | ||||
| | * | | test: add test_float_to_bool() | Yashasvi Misra | 2021-08-27 | 1 | -7/+9 |
| | | | | | | | | | | | | | Signed-off-by: Yashasvi Misra <yashasvimisra_bh@srmuniv.edu.in> | ||||
| | * | | add test | Yashasvi Misra | 2021-08-26 | 1 | -0/+6 |
| | | | | |||||
| | * | | update | Yashasvi Misra | 2021-08-19 | 1 | -0/+4 |
| | | | | |||||
| * | | | Remove reference since it's not used (#19766) | Illviljan | 2021-08-27 | 1 | -3/+0 |
| | | | | |||||
| * | | | Fix so doctest passes | Illviljan | 2021-08-27 | 1 | -3/+3 |
| | |/ |/| | |||||
| * | | MAINT: Remove redundant semicolon | HowJMay | 2021-08-27 | 4 | -4/+4 |
| | | | |||||
| * | | Merge pull request #19725 from anntzer/loadtxt-fh-closing | Matti Picus | 2021-08-26 | 1 | -14/+12 |
| |\ \ | | | | | | | MAINT: Use a contextmanager to ensure loadtxt closes the input file. | ||||
| | * | | MAINT: Use a contextmanager to ensure loadtxt closes the input file. | Antony Lee | 2021-08-22 | 1 | -14/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This seems easier to track that a giant try... finally. Also move the `fencoding` initialization to within the contextmanager, in the rather unlikely case an exception occurs during the call to `getpreferredencoding`. | ||||
| * | | | Update numpy/core/overrides.py | Sebastian Berg | 2021-08-25 | 1 | -2/+2 |
| | | | | | | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
| * | | | remove import time compile | Irit Katriel | 2021-08-25 | 1 | -30/+8 |
| | | | | |||||
