summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #15429 from WarrenWeckesser/config-docstringEric Wieser2020-01-271-0/+1
|\ | | | | DOC: distutils: Add a docstring to show_config().
| * DOC: distutils: Add a docstring to show_config().Warren Weckesser2020-01-251-0/+1
| | | | | | | | | | | | | | Thanks to Sergey Kojoian for the original patch to create the docstring. Closes gh-9258.
* | DOC: Fix Incorrect documentkishimoto-banana2020-01-261-5/+5
|/
* DOC: Fix Multithreaded Generation example docs (gh-15367)Fabio Zeiser2020-01-241-29/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old code examples did not actually run correctly and had a bug. They were also never updated to use SeedSequence correctly. This fixes both. * DOC, BUG: Fixes Multithreaded Generation docs Working on #15365 The code runs now, but I get quite different runtimes than in the example. May need some more work * DOC: changes after PR review * DOC: Changing input/output lines to sphinx standard For ipython example: Adding `Out[i]` where i is the input cell number and correcting vissual multiline inputs * MAINT: Replace `jumped` by `SeedSequence` in multithreading snippet After PR review, decided to replace `jumped` by `SeedSequence` as it is a more general method. Adopted the introduction to reflect this. Also added a section on the reproducibility for different machines and number of threads + an example. * MAINT: Changes after PR review - Switch back to default_rng() instead of the Generator(BitGenerator)) syntax pursuant @rkern 's explanation in #15391 - small fixes * MAINT: Delete unneccesary reference to PCG64 * MAINT: Added newline finxing codeblock error in docs Trying to see whether this fixes circleci error * MAINT: Clean up in imports of code snippet
* MAINT: Revise imports from collections.abc moduleMike Taves2020-01-221-7/+5
|
* MAINT: Const qualify UFunc inner loops (gh-15355)Kai Striega2020-01-212-30/+39
| | | | | This PR const qualifies the dimension and strides arguments of PyUFuncGenericFunction. Const qualified arguments make it simpler to reason about the behaviour of these ufuncs and prevents accidental mutation. As the const is now required this PR also const qualifies calls to PyUFuncGenericFunction inside the NumPy source code. This closes #15252
* Merge pull request #15375 from sethtroisi/misc_cleanupsMatti Picus2020-01-222-23/+13
|\ | | | | STY: Use `with open` when possible
| * STY: use `with open` when possibleSeth Troisi2020-01-212-23/+13
| |
* | Merge pull request #15323 from mattip/nep-0034-2Matti Picus2020-01-221-1/+6
|\ \ | |/ |/| NEP: document reimplementation of NEP 34
| * NEP: document reimplementationmattip2020-01-141-1/+6
| |
* | Merge pull request #15351 from mattip/rewordSebastian Berg2020-01-211-3/+5
|\ \ | | | | | | DOC, BLD: reword release note, upgrade sphinx version
| * | DOC: reword release note to unbreak sphinx renderingmattip2020-01-201-3/+5
| | |
* | | NEP: issue deprecation warning when creating ragged array (NEP 34)Matti Picus2020-01-212-0/+9
| | | | | | | | | | | | This implements NEP 34.
* | | DOC: NumPy for absolute beginners tutorial (#14546)Anne Bonner2020-01-2138-0/+1694
|/ / | | | | | | | | | | | | This absolute beginners tutorial is the output of Anne's Google Season of Docs project. An intermediate version was also published at https://towardsdatascience.com/the-ultimate-beginners-guide-to-numpy-f5a2f99aef54
* | DOC: Updating f2py docs to python 3 and fixing some typos (#15303)Melissa Weber Mendonça2020-01-1918-188/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Updated f2py "Getting Started" doc to python3. * WIP: updating f2py docs to python3: intro to python-usage done. * WIP: updated "Scalar Arguments" session of python-usage.rst * WIP: updated "String arguments" section of python-usage.rst. TODO check for string bug here. * WIP: updated "Array arguments" section of python-usage.rst * WIP: updated "Callback arguments" section in python-usage.rst * WIP: updated sections "Common blocks" and "F90 module data" from python-usage.rst * Finished update of python-usage.rst * WIP: updating usage.rst * PEP8 fix for equal sign and added note about building extension modules. * Finished update of usage.rst * Remove future imports from f2py example. * Fixed typos. * Fixed typo. * Updated f2py "Getting Started" doc to python3. * Finished update of python-usage.rst * Finished update of usage.rst * Fixed typos. * Addressing comments on PR. * Addressing PR review; closes gh-14812; fixes gh-14919; closes gh-14960; fixes gh-14865; fixes gh-14862 * Restore names of common block items.
* | ENH: add identity kwarg to frompyfunc (#8255)mattharrigan2020-01-161-0/+5
| | | | | | | | | | | | | | | | | | | | * ENH: add identity kwarg to frompyfunc * Update umathmodule.c * Add test, docs, and release note for identity Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* | Merge pull request #15217 from eric-wieser/deprecate-shape-0Sebastian Berg2020-01-161-0/+11
|\ \ | | | | | | DEP: records: Deprecate treating shape=0 as shape=None
| * | DEP: records: Deprecate treating shape=0 as shape=NoneEric Wieser2020-01-011-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `shape=n` is a shorthand for `shape=(n,)` except in the case when `n==0`, when it is a shorthand for `shape=None`. This special case is dangerous, as it makes `fromrecords(..., shape=len(a))` behave surprisingly when a is an empty sequence. Users impacted by this warning either: * Have a bug in their code, and will need to either: - wait for the deprecation to expire - change their code to use `(len(a),)` instead of `len(a)` * Are using the non-preferred spellling, and will need to replace a literal `0` or `False` with `None`
* | | Merge pull request #15118 from mattip/cleanup-array-callSebastian Berg2020-01-162-11/+17
|\ \ \ | | | | | | | | API: remove undocumented use of __array__(dtype, context)
| * | | MAINT: remove undocumented use of context in __array__(dtype, context)mattip2020-01-162-11/+17
| | |/ | |/|
* | | DEP: Deprecate `->f->fastclip` at registration timeSebastian Berg2020-01-151-1/+11
| | | | | | | | | | | | | | | This adds the additional deprecation of fastclip if it is set at registration time instead of only testing that it is never used.
* | | Merge pull request #14942 from seberg/clean-fasttakeMatti Picus2020-01-162-2/+16
|\ \ \ | | | | | | | | MAINT,API: ignore and NULL fasttake/fastputmask ArrFuncs slots
| * | | DEP: Actually deprecate fasttake and fastclipmaskSebastian Berg2020-01-152-6/+14
| | | |
| * | | MAINT,API: Do not use fastputmask dtype slot and always NULL itSebastian Berg2020-01-071-5/+6
| | | | | | | | | | | | | | | | | | | | This removes the use of the fastputmask ArrFuncs slot from within NumPy and always leaves it NULL.
| * | | MAINT,API: Do not use fasttake slot of ArrFuncs and null itSebastian Berg2020-01-071-0/+5
| | | | | | | | | | | | | | | | | | | | Always NULL the fasttake slot, and instead move the optimized versions by doing itemsize specialization in the Take function itself.
* | | | DOC: fix typosBrian Wignall2020-01-1414-28/+28
| |/ / |/| |
* | | Merge pull request #15242 from sethtroisi/python3_docMatti Picus2020-01-101-15/+22
|\ \ \ | | | | | | | | DOC: Update HOWTO_RELEASE.rst
| * | | Notes on compiler and OpenBLASSeth Troisi2020-01-071-15/+22
| | | |
| * | | Update HOWTO_RELEASE.rstSeth Troisi2020-01-041-3/+3
| | | |
* | | | MAINT: C code simplificationSeth Troisi2020-01-081-2/+0
| | | |
* | | | Merge pull request #15282 from rgommers/relnotes-119Charles Harris2020-01-072-3/+9
|\ \ \ \ | | | | | | | | | | DOC: BLD: add empty release notes for 1.19.0 to fix doc build error
| * | | | DOC: BLD: add empty release notes for 1.19.0 to fix doc build errorRalf Gommers2020-01-072-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Was discussed before in gh-15042 but forgotten about. Sphinx now complains about this missing file, and warnings get turned into errors in some cases in our build setup. [ci skip]
* | | | | Merge pull request #15233 from sethtroisi/python3_more_more_moreMatti Picus2020-01-071-0/+4
|\ \ \ \ \ | |/ / / / |/| | | | MAINT: Clean up more PY_VERSION_HEX
| * | | | DOC: Add release notes for Py3K cleanups.Seth Troisi2020-01-061-0/+4
| | |/ / | |/| |
* | | | Merge pull request #15264 from hippo91/missing_ufuncs_in_docMatti Picus2020-01-071-0/+4
|\ \ \ \ | | | | | | | | | | DOC: Add some missing functions in the list of available ufuncs.
| * | | | DOC: Add some missing functions in the list of available ufuncs.hippo912020-01-061-0/+4
| | | | | | | | | | | | | | | | | | | | See #15214
* | | | | Merge pull request #15274 from charris/post-1.18.1-updateRalf Gommers2020-01-073-0/+86
|\ \ \ \ \ | | | | | | | | | | | | MAINT: Post NumPy 1.18.1 update.
| * | | | | MAINT: Post NumPy 1.18.1 update.Charles Harris2020-01-063-0/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add 1.18.1-changelog.rst - Add 1.18.1-notes.rst - Update release.rst
* | | | | | DOC: minor formatting fixups for NEP-37 (#15273)Stephan Hoyer2020-01-061-40/+40
|/ / / / /
* | | | | DOC: NEP 37: A dispatch protocol for NumPy-like modules (#15197)Stephan Hoyer2020-01-061-0/+550
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DOC: NEP 37: A dispatch protocol for NumPy-like modules * Minor text edits, per review comments * Add examples of how pint and dask avoid array creation routines * Apply suggestions from code review Co-Authored-By: Sebastian Berg <sebastian@sipsolutions.net> * Fixes per Sebastian's review * Fixes from ptenschev's review * line wrapping * Spelling fixes Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
* | | | Merge remote-tracking branch 'upstream/master' into ↵Eric Wieser2020-01-0622-157/+252
|\ \ \ \ | | | | | | | | | | | | | | | remove-numpy.distutils.compat
| * | | | MAINT: Improve const-correctness of shapes and stridesEric Wieser2020-01-062-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Marking these arguments as const makes it easier to reason about these functions, and prevent accidental mutation. The C99 standard (6.2.5/26 "Types") guarantees that ABI compatibility is preserved here.
| * | | | MAINT: Remove implicit inheritance from object class (#15236)Jon Dufresne2020-01-052-3/+3
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Inheriting from object was necessary for Python 2 compatibility to use new-style classes. In Python 3, this is unnecessary as there are no old-style classes. Dropping the object is more idiomatic Python.
| * | | Merge pull request #15232 from sethtroisi/remove_python3_part3Matti Picus2020-01-042-89/+0
| |\ \ \ | | | | | | | | | | MAINT: Cleaning up PY_MAJOR_VERSION/PY_VERSION_HEX
| | * | | Cleaning up PY_MAJOR_VERSION/PY_VERSION_HEXSeth Troisi2020-01-032-89/+0
| | | | |
| * | | | MAINT: Remove unused int_asbufferJon Dufresne2020-01-042-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Python 3, int_asbuffer throws NotImplementedError and goes unused internally. Fixes #12425
| * | | | Merge pull request #14376 from jdufresne/futureSebastian Berg2020-01-038-19/+0
| |\ \ \ \ | | |/ / / | |/| | | MAINT: Remove unnecessary 'from __future__ import ...' statements
| | * | | MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-038-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
| * | | | MAINT: Remove Python2 specific C module setup (gh-15231)Seth Troisi2020-01-032-16/+2
| |/ / / | | | | | | | | | | | | | | | | Dropping the support for python 2, the difference in module setup do not have to be accounted for anymore. This removes the macros and ifdef's related to module setup code and python 2 support.
| * | | DOC: typo in release.rstmattip2020-01-031-2/+2
| | | |