| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
From the header comment in add_newdocs, it is only intended for C modules.
This also fixes `help(np.mgrid)`, which previously only showed the help for `nd_grid`
|
|\
| |
| | |
DOC: Clear up confusion between np.where(cond) and np.where(cond, x, y)
|
| |
| |
| |
| |
| |
| |
| |
| | |
Eliminates all mentions of `np.where(cond)`, instead pointing the reader to np.nonzero.
Also changes some example numbers to avoid collisions, making them easier to follow.
Some minor doc improvements for np.ma.where too.
|
|\ \
| | |
| | | |
DOC: Silence many sphinx warnings
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Einsum docs improvements.
* DOC: add information to numpy.core.einsumfunc
* DOC: add information to numpy.core.einsumfunc
* DOC: add information to numpy.core.einsumfunc
* DOC: add information to numpy.core.einsumfunc
* DOC: remove 'numpy.core','c_einsum' section from 'add_newdocs.py'
* DOC: make :py:func links to all internal functions.
* DOC: make :py:func links to all internal functions (minor corrections)
* DOC: place `add_newdoc('numpy.core.multiarray','c_einsum'`,...) in file.
* DOC: minor requested corrections
* DOC: suggested optimize argument Example cases
* DOC: copy amendments to second docstring location in add_newdocs.py
* DOC: more descriptive text
* DOC: required correction to specify a default argument.
* DOC: minor presentation fix for example display in einsumfunc.py
* DOC: amend c_einsum documentation version, add note about dual documentation
|
|/ |
|
|
|
|
|
| |
For development/testing purposes, it's convenient to have access to the
system printf for floats. This is a very simple printf interface.
|
|
|
|
|
| |
Clarify that tofile requires a file that can be directly written to
and not a general file-like object
|
|
|
|
|
|
|
|
|
|
|
|
| |
* DOC: mention we can return unitinitialized values
* squash and rebase, extend explanation and improve docstring template
* MAINT: Spelling fixes for docstrings.
[ci skip]
* MAINT: Update following feedback.
|
|\
| |
| | |
DOC: cleanup documentation, continuation of nditer PR #9998
|
| | |
|
|/ |
|
| |
|
|\
| |
| | |
ENH: Nditer as context manager
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
DOC: Cross-reference full/full_like in a few "See Also" sections.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
While teaching numpy I was asked the best way to create an array of nan,
and `np.full` seem not be cross linked from many places; In particular
in the documentation of `zeros` and `ones` seam like obvious candidates
to add them.
Reorder all the see-also to be
- empty_like
- ones_like
- zero_like
- full_like
- empty
- ones
- zeros
- full
|
|/ |
|
|
|
|
| |
Closes #10784
|
| |
|
| |
|
| |
|
|
|
|
| |
closes #10611
|
| |
|
|
|
|
|
|
| |
be nice if it was
Also give an example of the non-associative case.
|
| |
|
| |
|
|\
| |
| | |
DOC: Explain np.digitize and np.searchsorted more clearly
|
| |
| |
| |
| |
| |
| |
| | |
Show the four modes in a table for clarity
Compare to searchsorted
[ci-skip]
|
|/ |
|
| |
|
| |
|
|
|
|
| |
[ci-skip]
|
|
|
|
| |
[ci-skip]
|
| |
|
|\
| |
| | |
MAINT: Improve performance of np.copyto(where=scalar)
|
| |
| |
| |
| | |
None would be cast to False, which is the opposite of the intended default!
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
WRITEBACKIFCOPY (#9639)
* ENH: add API to resolve UPDATEONCOPY outside dealloc, test and use
* BUG: Fix usage of keyword "from" as argument name for "can_cast".
Also removed inconsistency between the second argument name
between documentation ("totype") and code ("to").
* UPDATEIFCOPY -> WRITEBACKIFCOPY, documentation
* fixes for review
* review2, fix new test
* fix new test for using self.assert_deprecated
* change deprecation logic as per review
* new logic exposed places where PyArray_ResolveWritebackIfCopy not called
* deprecate PyArray_XDECREF_ERR in favor of PyArray_DiscardWritebackIfCopy
* code review changes
* clean up merge cruft
* fix from review
* fixes from review
* extend the release note
|
|\ \
| | |
| | | |
DOC: dot: Add explanation in case `b` has only 1 dimension.
|
| | | |
|
|/ /
| |
| |
| |
| | |
Adding note about difference between `numpy.reshape`
and `ndarray.reshape`. See issue #570
|
| |
| |
| | |
[ci skip]
|
| |
| |
| |
| | |
Interpreting a unicode string as raw binary data is a terrible idea, especially if the encoding is determined by the system (python 2)
|