summaryrefslogtreecommitdiff
path: root/numpy/doc/basics.py
Commit message (Collapse)AuthorAgeFilesLines
* MAINT, DOC: move informational files from numpy.doc.*.py to their *.rst ↵Matti Picus2020-09-021-341/+0
| | | | | | | | | counterparts (#17222) * DOC: redistribute docstring-only content from numpy/doc * DOC: post-transition clean-up * DOC, MAINT: reskip doctests, fix a few easy ones
* MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-031-1/+0
| | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* MAINT: Remove uses of scalar aliasesEric Wieser2019-11-131-2/+2
| | | | Relates to gh-6103
* Re-add double backlashJohann Faouzi2019-07-091-1/+1
|
* Update basics.pyJohann Faouzi2019-07-091-2/+2
|
* MAINT: Misc. typo fixes (#13664)luzpaz2019-05-311-1/+1
| | | | | | * DOC, MAINT: Misc. typo fixes Found via `codespell`
* DOC: Minor fix in Integer Overflow docKai Striega2019-03-191-3/+3
| | | | Change `np.power` -> `numpy.power` to make it reference the function's documentation
* DOC: Remove extra letter from docsKai Striega2019-03-191-1/+1
|
* DOC: Add description of overflow errorrskai2019-03-181-0/+39
| | | | | | | Unlike Python, NumPy integers have fixed sizes. This can lead to confusion when a integer overflow occurs and users expect NumPy integer types to behave similarily to Python integers. This commit explains integer overflow, an example and potential work arounds.
* DOC: Make clear the connection between numpy types and C typesEric Wieser2018-09-041-33/+151
|
* DOC, BUG: Fix Python 3.6 invalid escape sequence.Charles Harris2017-08-131-2/+2
| | | | | | | | | The rst markup in numpy/doc/basics.py uses `\s`, which is interpreted by python 3.6 as a deprecated escape sequence. Fix by escaping the `\`. Closes #9551. [ci skip]
* Merge branch 'master' into fix-note-on-quad-precCharles Harris2017-08-121-2/+2
|\
| * Merge pull request #9422 from deniederhut/doc/types-formattingCharles Harris2017-08-121-2/+2
| |\ | | | | | | DOC: correct formatting of basic.types.html
| | * DOC: reverts some escapes [ci-skip]Dillon Niederhut2017-08-111-2/+2
| | |
| | * DOC: removes extraneous whitespace with escapesDillon Niederhut2017-07-271-3/+3
| | | | | | | | | | | | [ci-skip]
| | * DOC: correct formatting of basic.types.htmlDillon Niederhut2017-07-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | In the documentation for types allowed in numpy, missing spaces around the backticks for fixed-width formatting cause code examples to appear as plain text, or are causing plain text to appear as code. This commit fixes back tick spacing in the 'Extended Precision' section of the 'Data Types' page.
* | | DOC: Adding backslash between double-backtick and s.Danny Hermes2017-08-111-1/+1
|/ /
* | MAINT: Stop using the undocumented coercion-then-downcast feature of subdtypeEric Wieser2017-08-051-2/+2
|/
* DOC: BLD: fix lots of Sphinx warnings/errors.Ralf Gommers2017-06-101-30/+30
|
* DOC: change Numpy to NumPy in dosctrings and commentsPierre de Buyl2016-09-061-5/+5
| | | | The strings in error messages were left untouched
* DOC: be more emphatic about Windows and 64 bitsAnne Archibald2015-09-011-7/+9
|
* DOC describe the situation of extended precision in numpyAnne Archibald2015-09-011-0/+37
|
* STY: Giant whitespace cleanup.Charles Harris2013-08-181-1/+0
| | | | Now is as good a time as any with open PR's at a low.
* DOC: Clarify and add C-compatible integer types to list of dtypesSebastian Berg2013-06-041-11/+18
| | | | | Also mention np.intp, which at least personally I think is not an unimportant type.
* 2to3: Apply `print` fixer.Charles Harris2013-04-061-1/+1
| | | | | | | Add `print_function` to all `from __future__ import ...` statements and use the python3 print function syntax everywhere. Closes #3078.
* 2to3: Use absolute imports.Charles Harris2013-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new import `absolute_import` is added the `from __future__ import` statement and The 2to3 `import` fixer is run to make the imports compatible. There are several things that need to be dealt with to make this work. 1) Files meant to be run as scripts run in a different environment than files imported as part of a package, and so changes to those files need to be skipped. The affected script files are: * all setup.py files * numpy/core/code_generators/generate_umath.py * numpy/core/code_generators/generate_numpy_api.py * numpy/core/code_generators/generate_ufunc_api.py 2) Some imported modules are not available as they are created during the build process and consequently 2to3 is unable to handle them correctly. Files that import those modules need a bit of extra work. The affected files are: * core/__init__.py, * core/numeric.py, * core/_internal.py, * core/arrayprint.py, * core/fromnumeric.py, * numpy/__init__.py, * lib/npyio.py, * lib/function_base.py, * fft/fftpack.py, * random/__init__.py Closes #3172
* 2to3: Put `from __future__ import division in every python file.Charles Harris2013-03-011-0/+2
| | | | | | | | This should be harmless, as we already are division clean. However, placement of this import takes some care. In the future a script can be used to append new features without worry, at least until such time as it exceeds a single line. Having that ability will make it easier to deal with absolute imports and printing updates.
* DOC: Add missing minus signOndřej Čertík2012-12-311-1/+1
| | | | | The int64 data type allows numbers from -9223372036854775808 to 9223372036854775807. The minus sign was missing.
* DOC: core: Update docs for half/float16 typeMark Wiebe2010-12-011-0/+2
|
* more docstring updates from pydoc website (thanks to everyone who contributed!)Jarrod Millman2010-02-171-3/+3
|
* fixed a whole bunch of doctestsPaul Ivanov2009-12-281-2/+3
|
* Import documentation from doc wiki (part 2, work-in-progress docstrings, but ↵Pauli Virtanen2008-10-281-2/+0
| | | | they are still an improvement)
* Move documentation outside of source tree. Remove `doc` import from __init__.Stefan van der Walt2008-08-231-0/+137