summaryrefslogtreecommitdiff
path: root/doc/source/reference
Commit message (Collapse)AuthorAgeFilesLines
* DOC: Tidy up references to str_ / bytes_Eric Wieser2020-10-244-13/+12
| | | | | | | | 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
* DOC: Fixup for ``PyUFunc_*``takanori-pskq2020-10-241-1/+3
|
* Update doc/source/reference/random/c-api.rstTakanori H2020-10-241-2/+1
| | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* DOC: Fixup for PR #17614takanori-pskq2020-10-241-1/+1
|
* DOC: Fix some referencestakanori-pskq2020-10-248-25/+28
|
* DOC: Fix the document for arrays interfacetakanori-pskq2020-10-231-14/+14
|
* Merge pull request #17570 from takanori-pskq/i13114-feature-versionMatti Picus2020-10-221-12/+16
|\ | | | | DOC: Add the entry for ``NPY_FEATURE_VERSION``
| * DOC: Fixuptakanori-pskq2020-10-221-17/+16
| |
| * DOC: Add the entry for ``NPY_FEATURE_VERSION``takanori-pskq2020-10-151-0/+5
| |
* | ENH: add function to get broadcast shape from a given set of shapes. (#17535)madhulikajc2020-10-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: Fix Boolean array indexing typoBen Derrett2020-10-161-1/+1
| |
* | DOC: Fix typostakanori-pskq2020-10-152-3/+3
|/
* Merge pull request #17559 from takanori-pskq/i16217-remove-directivesMatti Picus2020-10-142-16/+6
|\ | | | | DOC: Remove directives for some constants
| * DOC: Remove directives for some constantstakanori-pskq2020-10-142-16/+6
| |
* | DOC: Fix wrong blockquotestakanori-pskq2020-10-141-8/+0
|/
* DOC: Add missing types to C function docs (#17549)Takanori H2020-10-134-86/+87
| | | `.. c:function::` expects its contents to be a valid C prototype, meaning the return types and arguments are all need types.
* DOC: Fix Boolean types in C functionstakanori-pskq2020-10-102-9/+9
|
* DOC: Fixing references in ma docstrings (#16300)Takanori H2020-10-071-1/+1
| | | Fix broken links in see also section of some ma functions.
* Merge pull request #17481 from takanori-pskq/i13114-fix-structures-memberMatti Picus2020-10-071-251/+251
|\ | | | | DOC: Fix the entries for members of structures
| * DOC: Fix the entries for members of structurestakanori-pskq2020-10-071-251/+251
| |
* | DOC: rm numpy. from type alias attr definitions.Ross Barnowski2020-10-061-14/+14
| |
* | DOC: add some missing scalar aliasesEric Wieser2020-10-061-5/+23
|/
* Merge pull request #17464 from takanori-pskq/i13114-add-entriesMatti Picus2020-10-062-75/+112
|\ | | | | DOC: Add some entries for C types and macros
| * Fix: Remove the link for `PyArrayMapIterObject`takanori-pskq2020-10-061-3/+1
| |
| * Fixuptakanori-pskq2020-10-061-2/+2
| |
| * DOC: Add some entries for C types and macrostakanori-pskq2020-10-062-74/+113
| |
* | Merge pull request #17331 from eric-wieser/remove-scalar-tablesMatti Picus2020-10-061-99/+220
|\ \ | |/ |/| DOC: Remove the tables of scalar types, and use `..autoclass` to create link targets instead
| * DOC: typo.Ross Barnowski2020-10-051-1/+1
| |
| * DOC: Overhaul the scalar type documentation to use `..autoclass`Eric Wieser2020-10-041-99/+220
| | | | | | | | | | | | 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.
* | DOC: Fix some references for macrostakanori-pskq2020-10-054-9/+18
| |
* | Fix: Add the entry for `NPY_ARR_HAS_DESCR`takanori-pskq2020-10-051-0/+2
| |
* | DOC: Fix the references for macrostakanori-pskq2020-10-043-5/+17
|/
* DOC: Fix the links for ``Ellipsis`` (#17431)Takanori H2020-10-021-4/+4
|
* DOC: Add arraysetops to autosummary.Ross Barnowski2020-09-291-0/+5
| | | | | | * Generate stub for module, fixes 7 broken links * Modify arraysetops module docstring w/ rst formatting * Remove listing of functions from module docstring.
* DOC: Fix incorrect `.. deprecated::` syntax that led to this note being ↵Eric Wieser2020-09-181-8/+9
| | | | invisible.
* Merge pull request #17330 from eric-wieser/dtype-docsSebastian Berg2020-09-161-26/+29
|\ | | | | DOC: improve `issubdtype` and scalar type docs
| * DOC: Fix broken references and make the tables a little clearerEric Wieser2020-09-161-26/+29
| | | | | | | | | | | | `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 (#17263)Matti Picus2020-09-141-0/+3
|/ | | | | | | | | | | * 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
* Merge pull request #17154 from eric-wieser/remove-PyCObject-refsCharles Harris2020-09-071-22/+37
|\ | | | | DOC: Remove references to PyCObject
| * Wrap linesEric Wieser2020-08-261-4/+6
| |
| * Improve wording of noteEric Wieser2020-08-261-2/+4
| |
| * DOC: Remove references to PyCObjectEric Wieser2020-08-241-22/+33
| | | | | | | | This has been replaced by PyCapsule, and no longer exists as of 3.2.
* | DOC: Fix the link to the quick-start in the old API functionsSebastian Berg2020-09-031-1/+1
| |
* | MAINT, DOC: move informational files from numpy.doc.*.py to their *.rst ↵Matti Picus2020-09-021-1/+157
| | | | | | | | | | | | | | | | | | 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: Add the method `permuted` to Generator. (#15121)Warren Weckesser2020-09-021-0/+94
| | | | | | | | | | | | | | | | | | | | | | * 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.
* | Merge pull request #17182 from seberg/doc-metadataMatti Picus2020-09-021-0/+7
|\ \ | | | | | | DOC: Document `dtype.metadata`
| * | DOC: Document ``dtype.metadata``Sebastian Berg2020-08-281-0/+7
| | | | | | | | | | | | | | | | | | 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
* | | ENH: Allow μs as an alias for usEric Wieser2020-08-281-1/+1
|/ / | | | | | | This is motivated primarily as a proof that the datetime API is now unicode-safe, and generally seems harmless.
* | API: Remove `np.ctypeslib.ctypes_load_library`Eric Wieser2020-08-201-1/+0
|/ | | | | | This function has been deprecated since fcee1ad856089a7ecb7b6865d280c0273dacb638 (Numpy v1.0b3). 14 years is more than enough time for users to switch from it.
* Merge pull request #16886 from takanori-pskq/i13114-3Matti Picus2020-08-135-12/+12
|\ | | | | DOC: Fix types including curly braces