| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This:
* Fixes some broken references
* Cleans up some use of Python 2 aliases:
* Switches references to `np.string_` to describe `np.bytes_` instead
* Switches references to `np.unicode_` to describe `np.str_` instead
|
| |
|
|
|
| |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| |
|
| |
|
| |
|
|\
| |
| | |
DOC: Add the entry for ``NPY_FEATURE_VERSION``
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* ENH: add function to get broadcast shape from a given set of shapes.
Add new function numpy.broadcast_shape which takes tuples
for the shapes to be broadcast against each other.
Return the broadcasted shape as a tuple.
See #17217
* Perform array allocations of size 0 for provided shape tuples
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* Test for int as input shape
Also update docstring to include both ints and tuples of ints as input
* Remove unnecessary array_function_dispatch
* Add missing set_module
* Add release notes. Add versionadded to docstring.
Also fix up docstring details.
* follow convention for trailing comma
Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
* Change name to broadcast_shapes. Also add test case, and type hint.
* follow convention
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* Update docstring
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* Add reference to numpy docs on broadcasting to docstring
Also move versionadded
* Fix spelling
Co-authored-by: Warren Weckesser <warren.weckesser@gmail.com>
* Add broadcast_shapes to reference docs and add See Also sections
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
Co-authored-by: Warren Weckesser <warren.weckesser@gmail.com>
|
| | |
|
|/ |
|
|\
| |
| | |
DOC: Remove directives for some constants
|
| | |
|
|/ |
|
|
|
| |
`.. c:function::` expects its contents to be a valid C prototype, meaning the return types and arguments are all need types.
|
| |
|
|
|
| |
Fix broken links in see also section of some ma functions.
|
|\
| |
| | |
DOC: Fix the entries for members of structures
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
DOC: Add some entries for C types and macros
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
|/| |
DOC: Remove the tables of scalar types, and use `..autoclass` to create link targets instead
|
| | |
|
| |
| |
| |
| |
| |
| | |
This remove the tables. since they only had three columns, and using the character code is advised against anyway.
With this change, the individual scalar types as well as their aliases are now valid sphinx python domain targets.
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
| |
* Generate stub for module, fixes 7 broken links
* Modify arraysetops module docstring w/ rst formatting
* Remove listing of functions from module docstring.
|
|
|
|
| |
invisible.
|
|\
| |
| | |
DOC: improve `issubdtype` and scalar type docs
|
| |
| |
| |
| |
| |
| | |
`types.BooleanType` and similar names were python2 things that no longer exist
`unicode` also no longer exists, and is now `str`
|
|/
|
|
|
|
|
|
|
|
|
| |
* DOC: add new glossary terms
* DOC: link to python Ellipsis
* DOC: fixes from review
* DOC: fixes from review
* DOC: remove glossary items that belong to python
|
|\
| |
| | |
DOC: Remove references to PyCObject
|
| | |
|
| | |
|
| |
| |
| |
| | |
This has been replaced by PyCapsule, and no longer exists as of 3.2.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
counterparts (#17222)
* DOC: redistribute docstring-only content from numpy/doc
* DOC: post-transition clean-up
* DOC, MAINT: reskip doctests, fix a few easy ones
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* ENH: random: Make _shuffle_raw and _shuffle_int standalone functions.
* ENH: random: Add the method `permuted` to Generator.
The method permuted(x, axis=None, out=None) shuffles an array.
Unlike the existing shuffle method, it shuffles the slices along
the given axis independently.
Closes gh-5173.
|
|\ \
| | |
| | | |
DOC: Document `dtype.metadata`
|
| | |
| | |
| | |
| | |
| | |
| | | |
This adds some basic documentation to the ``dtype.metadata``
attribute. Note that none of the documentation mentions metadata
including https://numpy.org/devdocs/reference/arrays.dtypes.html
|
|/ /
| |
| |
| | |
This is motivated primarily as a proof that the datetime API is now unicode-safe, and generally seems harmless.
|
|/
|
|
|
|
| |
This function has been deprecated since fcee1ad856089a7ecb7b6865d280c0273dacb638 (Numpy v1.0b3).
14 years is more than enough time for users to switch from it.
|
|\
| |
| | |
DOC: Fix types including curly braces
|