summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorGabor Kovacs <kgabor79@gmail.com>2014-08-23 17:50:10 +0100
committerCharles Harris <charlesr.harris@gmail.com>2015-06-21 15:44:25 -0600
commit4e5545f0bcc654fb0c6752dcf72120e6e7340d28 (patch)
tree83775e28968635ac9588c021280469599b0a520b /numpy/lib/function_base.py
parente3b2bc0b0f31482cd112660393245116ae55ecbf (diff)
downloadnumpy-4e5545f0bcc654fb0c6752dcf72120e6e7340d28.tar.gz
DOC: Update docs.
Update docs for boolean array indexing and nonzero order. Add links to row-major and column-major terms where they appear. Closes #3177
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 3826715e1..26d25cd6d 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -547,8 +547,7 @@ def average(a, axis=None, weights=None, returned=False):
def asarray_chkfinite(a, dtype=None, order=None):
- """
- Convert the input to an array, checking for NaNs or Infs.
+ """Convert the input to an array, checking for NaNs or Infs.
Parameters
----------
@@ -559,8 +558,9 @@ def asarray_chkfinite(a, dtype=None, order=None):
dtype : data-type, optional
By default, the data-type is inferred from the input data.
order : {'C', 'F'}, optional
- Whether to use row-major ('C') or column-major ('FORTRAN') memory
- representation. Defaults to 'C'.
+ Whether to use row-major (C-style) or
+ column-major (Fortran-style) memory representation.
+ Defaults to 'C'.
Returns
-------