diff options
author | Jesse Li <jesse.li2002@gmail.com> | 2020-07-29 12:37:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-29 12:37:45 -0700 |
commit | f99c01a29967886975cc646e0e46623b1a2bcde9 (patch) | |
tree | 23c77c41d47220b3046ea964de4c513860852ecf /numpy/lib/recfunctions.py | |
parent | 62ca9df412a83d2e641de12e04b776cb3dcdbe66 (diff) | |
download | numpy-f99c01a29967886975cc646e0e46623b1a2bcde9.tar.gz |
DOC: Fixed typo in lib/recfunctions.py (#16973)
Diffstat (limited to 'numpy/lib/recfunctions.py')
-rw-r--r-- | numpy/lib/recfunctions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/recfunctions.py b/numpy/lib/recfunctions.py index a11d5f2c7..cfc5dc9ca 100644 --- a/numpy/lib/recfunctions.py +++ b/numpy/lib/recfunctions.py @@ -899,7 +899,7 @@ def _structured_to_unstructured_dispatcher(arr, dtype=None, copy=None, @array_function_dispatch(_structured_to_unstructured_dispatcher) def structured_to_unstructured(arr, dtype=None, copy=False, casting='unsafe'): """ - Converts and n-D structured array into an (n+1)-D unstructured array. + Converts an n-D structured array into an (n+1)-D unstructured array. The new array will have a new last dimension equal in size to the number of field-elements of the input array. If not supplied, the output @@ -996,7 +996,7 @@ def _unstructured_to_structured_dispatcher(arr, dtype=None, names=None, def unstructured_to_structured(arr, dtype=None, names=None, align=False, copy=False, casting='unsafe'): """ - Converts and n-D unstructured array into an (n-1)-D structured array. + Converts an n-D unstructured array into an (n-1)-D structured array. The last dimension of the input array is converted into a structure, with number of field-elements equal to the size of the last dimension of the |