Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | STY: Fix some style issues (mainly long lines) | Sebastian Berg | 2022-01-14 | 1 | -12/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Note that one of the long lines is a link that cannot be split reasonably. | |||||
| * | | | | TST: Fixup current loadtxt tests for changes | Sebastian Berg | 2022-01-14 | 1 | -8/+7 | |
| | | | | | ||||||
| * | | | | ENH: Allow a single converter to be used for all columns | Sebastian Berg | 2022-01-14 | 1 | -12/+14 | |
| | | | | | | | | | | | | | | | | | | | | This is always used if it is a callable. | |||||
| * | | | | ENH: Move npreadtext into NumPy for faster text reading | Sebastian Berg | 2022-01-14 | 1 | -311/+323 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces `np.loadtxt` with the new textreader. The file has a few minor cleanups compared to the npreadtext version. npreadtext was started by Warren Weckesser for inclusion in NumPy and then very heavily modified by me (Sebastian Berg) to improve it and slim it down slightly. Some parts of this code is inspired or even taken from the pandas parser (mainly the integer parsers are fairly verbatim still). Co-authored-by: Warren Weckesser <warren.weckesser@gmail.com> | |||||
* | | | | | MAINT: Add missing word to warning message | Sadie Louise Bartholomew | 2022-02-07 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | DOC: lib/io.py was renamed to lib/npyio.py | Matthias Bussonnier | 2022-01-28 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | In 44118aedbac7c1c4465443ec23d104a83b9a24f9 (2010), so this docs examples would raise a `ValueError`. | |||||
* | | | | | TYP,ENH: Add annotations for `np.lib.mixins` | Bas van Beek | 2022-01-26 | 1 | -52/+65 | |
| | | | | | ||||||
* | | | | | Merge pull request #20887 from BvB93/aliases | Charles Harris | 2022-01-24 | 8 | -60/+18 | |
|\ \ \ \ \ | | | | | | | | | | | | | TYP,MAINT: Add aliases for commonly used unions | |||||
| * | | | | | MAINT: Create the `_ArrayLike` type-alias in `numpy.typing` | Bas van Beek | 2022-01-24 | 7 | -39/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Represents a subset of `npt.ArrayLike` that can be parametrized w.r.t. `np.generic` | |||||
| * | | | | | MAINT: Create the `_DTypeLike` type-alias in `numpy.typing` | Bas van Beek | 2022-01-24 | 3 | -21/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Represents a subset of `npt.DTypeLike` that can be parametrized w.r.t. `np.generic` | |||||
* | | | | | | Merge pull request #20885 from BvB93/param_spec | Charles Harris | 2022-01-24 | 2 | -0/+4 | |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | TYP,ENH: Improve typing with the help of `ParamSpec` | |||||
| * | | | | | TYP: Mark annotations that can be improved with `Concatenate` once mypy ↵ | Bas van Beek | 2022-01-24 | 2 | -0/+4 | |
| | |_|/ / | |/| | | | | | | | | | | | | | supports it | |||||
* | | | | | MAINT: fix typo (#20862) | Ruben Garcia | 2022-01-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | [ci skip] | |||||
* | | | | | DOC: Fix typo in meshgrid example | Emma Simon | 2022-01-18 | 1 | -1/+1 | |
|/ / / / | | | | | | | | | | | | | | | | | coordinate was misspelled in a comment in the example code [ci skip] | |||||
* | | | | MAINT, DOC: discard repeated words | Dimitri Papadopoulos | 2022-01-13 | 3 | -7/+6 | |
| | | | | ||||||
* | | | | Merge pull request #20784 from DimitriPapadopoulos/codespell | Charles Harris | 2022-01-12 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / |/| | | | MAINT, DOC: fix new typos detected by codespell | |||||
| * | | | MAINT, DOC: fix new typos detected by codespell | Dimitri Papadopoulos | 2022-01-12 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | ENH: Type the `like` parameter via a `__array_function__` protocol | Bas van Beek | 2022-01-11 | 2 | -13/+20 | |
|/ / / | ||||||
* | | | ENH: Support for changing dtype in non-C-contiguous views | Joseph R. Fox-Rabinovitz | 2022-01-05 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | Expires deprecated F-contiguous behavior. Simplifies C code of dtype set descriptor. Adds tests that verify which error condition is triggered. Introduces extra long exception message that upsets linter. | |||||
* | | | STY: Use subscriptable `collections.abc` types over the generic aliases in … | Bas van Beek | 2021-12-23 | 10 | -23/+13 | |
| | | | ||||||
* | | | STY: Use subscriptable `builtins` types over the generic aliases in `typing` | Bas van Beek | 2021-12-23 | 20 | -142/+111 | |
| | | | ||||||
* | | | STY: Replace `Union` with the `|` operator | Bas van Beek | 2021-12-22 | 5 | -17/+14 | |
| | | | ||||||
* | | | STY: Replace `Optional` with the `|` operator | Bas van Beek | 2021-12-22 | 1 | -18/+17 | |
| | | | ||||||
* | | | ENH: add ndmin to `genfromtxt` behaving the same as `loadtxt` (#20500) | Ivan Gonzalez | 2021-12-16 | 3 | -26/+132 | |
| | | | ||||||
* | | | MAINT: Allow the `loadtxt` comments parameter to be `None` | Bas van Beek | 2021-12-15 | 1 | -3/+3 | |
| | | | ||||||
* | | | DOC: Merge doc strings of divide and true_divide. (#20246) | drosin | 2021-12-08 | 1 | -1/+1 | |
| | | | ||||||
* | | | BUG: Fix types of errors raised by genfromtxt (#20389) | André Elimelek de Weber | 2021-12-03 | 2 | -11/+14 | |
| | | | ||||||
* | | | DOC: Fix some target not found Sphinx warnings. (#20140) | Chiara Marmo | 2021-12-01 | 1 | -9/+12 | |
| | | | ||||||
* | | | Merge pull request #20446 from abatomunkuev/issue#20423 | Matti Picus | 2021-11-25 | 1 | -3/+10 | |
|\ \ \ | | | | | | | | | BUG: Fixed output variable overriding in numpy.info() | |||||
| * | | | BUG: Fixed docstring of numpy.info() | Andrei Batomunkuev | 2021-11-24 | 1 | -1/+2 | |
| | | | | ||||||
| * | | | Fixed python docstring in info() | Andrei Batomunkuev | 2021-11-24 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | BUG: Fixed output overriding in numpy.info(), so that it correctly displays ↵ | Andrei Batomunkuev | 2021-11-24 | 1 | -2/+8 | |
| | | | | | | | | | | | | | | | | in Google Colab. Closes#20423 | |||||
* | | | | Merge pull request #20433 from BvB93/122_typing | Charles Harris | 2021-11-22 | 1 | -2/+2 | |
|\ \ \ \ | | | | | | | | | | | BUG: Fix an incorrect protocol used in `np.lib.shape_base` | |||||
| * | | | | BUG: Fix an incorrect protocol used in `np.lib.shape_base` | Bas van Beek | 2021-11-22 | 1 | -2/+2 | |
| | | | | | ||||||
* | | | | | ENH: Add annotations for `np.emath` | Bas van Beek | 2021-11-22 | 1 | -10/+91 | |
|/ / / / | | | | | | | | | | | | | Aka `np.lib.scimath` | |||||
* | | | | DEP: remove deprecated `np.asscalar` function | Ralf Gommers | 2021-11-21 | 2 | -57/+20 | |
| | | | | | | | | | | | | | | | | Was deprecated in 1.16.0 | |||||
* | | | | Merge pull request #20093 from Mukulikaa/indexing-howto | Matti Picus | 2021-11-17 | 1 | -2/+2 | |
|\ \ \ \ | | | | | | | | | | | DOC: Created an indexing how-to | |||||
| * | | | | DOC: Added and modified examples | Mukulika | 2021-11-11 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | Also fixed minor typos and styling errors | |||||
* | | | | | Merge pull request #20147 from ↵ | Matti Picus | 2021-11-17 | 1 | -1/+2 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | arushi-08/updated-docstring-for-binary-file-object DOC: updated docstring for binary file object | |||||
| * | | | | | DOC: updated file object docstring | Arushi Sharma | 2021-10-26 | 1 | -1/+1 | |
| | | | | | | ||||||
| * | | | | | DOC: updated docstring for binary file object | Arushi Sharma | 2021-10-21 | 1 | -1/+2 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #20244 from MuhammadMotawe/clarify-sqrt-behavior | Matti Picus | 2021-11-17 | 1 | -0/+9 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | DOC: Clarify behavior of ``np.lib.scimath.sqrt`` apropos -0.0 | |||||
| * | | | | | | MAINT: Address review comments | Muhammad Motawe | 2021-10-30 | 1 | -5/+0 | |
| | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com> | |||||
| * | | | | | | DOC: Clarify behavior of np.lib.scimath.sqrt in the presence of negative 0 | Muhammad Motawe | 2021-10-30 | 1 | -0/+14 | |
| | |_|/ / / | |/| | | | | ||||||
* | | | | | | DOC: Fixups for interpolation rename comments from review | Sebastian Berg | 2021-11-15 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Charles Harris <charlesr.harris@gmail.com> | |||||
* | | | | | | DOC: Update percentile/quantile docs | Sebastian Berg | 2021-11-12 | 2 | -60/+72 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mainly fixes the method list slightly, tones down the warning a bit and fixes the link to the paper (I did not realize that the link failed to work due only because the reference was missing from nanquantile/nanpercentile). | |||||
* | | | | | | DOC: Add ticks to quantile interpolation/method error | Sebastian Berg | 2021-11-12 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: abel <aoun@cerfacs.fr> | |||||
* | | | | | | DOC: Remove reference to paper from quantile `method` kwarg | Sebastian Berg | 2021-11-12 | 2 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently, sphinx does not resolve references to footnotes from parameter descriptions. | |||||
* | | | | | | MAINT: Rename interpolation to method in percentile stubs | Sebastian Berg | 2021-11-12 | 1 | -13/+13 | |
| | | | | | | ||||||
* | | | | | | DOC: Fixup the percentile methods plot | Sebastian Berg | 2021-11-12 | 1 | -12/+19 | |
| | | | | | |