diff options
Diffstat (limited to 'numpy/ma/extras.py')
-rw-r--r-- | numpy/ma/extras.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py index d55e0d1ea..d8ea3de8c 100644 --- a/numpy/ma/extras.py +++ b/numpy/ma/extras.py @@ -794,7 +794,7 @@ def _median(a, axis=None, out=None, overwrite_input=False): def compress_nd(x, axis=None): - """Supress slices from multiple dimensions which contain masked values. + """Suppress slices from multiple dimensions which contain masked values. Parameters ---------- @@ -803,10 +803,10 @@ def compress_nd(x, axis=None): elements are masked, `x` is interpreted as a MaskedArray with `mask` set to `nomask`. axis : tuple of ints or int, optional - Which dimensions to supress slices from can be configured with this + Which dimensions to suppress slices from can be configured with this parameter. - - If axis is a tuple of ints, those are the axes to supress slices from. - - If axis is an int, then that is the only axis to supress slices from. + - If axis is a tuple of ints, those are the axes to suppress slices from. + - If axis is an int, then that is the only axis to suppress slices from. - If axis is None, all axis are selected. Returns |