| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
DOC: fixes to capitalization and header lines
|
|
|
| |
Remove unnecessary try/except from DataSource.
|
|
|
| |
I suggest adding `repeat` to the "See also" section of `unique` (and vice versa) since each is the inverse of the other.
|
|
|
|
|
|
| |
this solution is related to the following issue #15986
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
|
|
|
|
|
| |
This is deprecated usage, also small code style fixups since
I was looking at it anyway. YMMV, but I think its a bit/nicer
more compact now.
|
|\
| |
| | |
BUG: Order percentile monotonically
|
| | |
|
| |
| |
| | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| |
| |
| | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | |
|
| | |
|
| |
| |
| | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Iamsoto/better_docstring_for_numpy_lib_format_descr_to_dtype
DOC: fixed docstring for descr_to_dtype
|
| | |
| | |
| | |
| | | |
DOC: fixed docstring for descr_to_dtype
|
|/ /
| |
| |
| |
| | |
Replace "matrix" with "array" to avoid confusion
re: np.matrix. Consistent with other np.tri\* functions.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
In loadtxt, there is a try/finally block that ensures that the file
is closed if it was opened in the function. Some code that did not
need to be in that block was moved up, outside the try/finally block.
|
| |
| |
| |
| |
| |
| | |
Validation of `ndmin` is moved to the beginning of the function,
so we don't read the entire file only to raise an exception at
the end because of a bad argument.
|
| |
| |
| |
| |
| | |
This change moves the nested function definitions in loadtxt
to the top of the function body.
|
| |
| |
| |
| | |
This is a follow up to d1d9dd58e2de5f3b69c02b104e1daaeec1f38d9f, as more regressions in this style have been introduced since that commit.
|
|\ \
| | |
| | | |
DOC: Point Contributing page to new NEP 45
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Per #16500 discussion, adds link updates to PR.
Replaces NEP URLs with intersphinx links in these
files:
* doc/HOWTO_RELEASE.rst.txt
* doc/source/dev/howto-docs.rst
* numpy/doc/dispatch.py
* numpy/lib/format.py
and incorporates @rossbar's #16502 change of `config.py`.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* DOC: Fixes for 18 broken links
This, with PR #16465, should fix nearly all the remaining broken links
on the site. 4 or 5 others should be easy to fix and just
need attention from someone more knowledgeable -- will
open an issue. For release notes with dead links,
I could usually find links on archive.org for roughly contemporary
versions.
* DOC: Update to "Fixes for 18 broken links #16472"
* Obsolete links, previously commented out, now deleted:
https://github.com/numpy/numpy/pull/16472#discussion_r433928958
* Semantic markup for reference to Python class:
https://github.com/numpy/numpy/pull/16472#discussion_r433553928
* Missing :ref: in internal link:
https://github.com/numpy/numpy/pull/16472#discussion_r433554484
Not included: Resolution on using external/internal doc link in .py:
https://github.com/numpy/numpy/pull/16472#discussion_r433554824
* DOC: Add internal link for 'Fixes for 18 broken links' PR #16472
Making reference [1] an internal link in function_base.py => numpy.vectorize.html
* DOC: Redirect 2 link fixes in PR #16472
* governance.rst link reverted
* ununcs.rst `overridden` link goes where it was meant to
per https://github.com/numpy/numpy/pull/16472#pullrequestreview-424666070
|
| |
| |
| |
| | |
Minor cleanup while looking at something else.
|
| |
| |
| |
| | |
Addresses gh-13457
|
|/ |
|
|\
| |
| | |
BUG: Fix dtype leak in `PyArray_FromAny` error path
|
| |
| |
| |
| |
| |
| |
| |
| | |
Also adds a test to bincount which will run into this path.
The leak can be triggered by using a reference count checker
on the test suit (e.g. pytest-leaks).
Closes gh-16339
|
|\ \
| | |
| | | |
BUG: Indentation for docstrings
|
| |/ |
|
|\ \
| |/
|/| |
BUG: np.info does not show keyword-only arguments
|
| |
| |
| |
| |
| |
| | |
Using inspect.signature instead of `np.compat.getargspec` solves this problem.
`inspect.signature` also handles stripping the `self` argument of methods for us.
|
|\ \
| | |
| | |
| | |
| | | |
LSchroefl/link_SciPy_multidimensional_interpolation
DOC: link np.interp to SciPy's interpolation functions (closes #14154)
|
| | |
| | |
| | | |
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| |/ |
|
|\ \
| | |
| | | |
BUG,DOC: Allow attach docs twice but error if wrong
|
| | |
| | |
| | |
| | |
| | | |
Its not quite the right file, but close to newdoc seemed sensible
and we do not have a "right" file right now...
|