summaryrefslogtreecommitdiff
path: root/numpy/lib/recfunctions.py
diff options
context:
space:
mode:
authorJesse Li <jesse.li2002@gmail.com>2020-07-29 12:37:45 -0700
committerGitHub <noreply@github.com>2020-07-29 12:37:45 -0700
commitf99c01a29967886975cc646e0e46623b1a2bcde9 (patch)
tree23c77c41d47220b3046ea964de4c513860852ecf /numpy/lib/recfunctions.py
parent62ca9df412a83d2e641de12e04b776cb3dcdbe66 (diff)
downloadnumpy-f99c01a29967886975cc646e0e46623b1a2bcde9.tar.gz
DOC: Fixed typo in lib/recfunctions.py (#16973)
Diffstat (limited to 'numpy/lib/recfunctions.py')
-rw-r--r--numpy/lib/recfunctions.py4
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