DOC: Clean up docstring cruft.

This commit is contained in:
Scott Sanderson
2016-05-02 15:38:00 -04:00
parent 23324b4218
commit 47e9b107ec
+3 -3
View File
@@ -184,8 +184,8 @@ class LabelArray(ndarray):
In this case, `self` will be the new LabelArray instance, and
``obj` will be the array on which ``view`` is being called.
The caller of ``obj.view`` is responsible for copying setting
category metadata on ``self`` after we exit.
The caller of ``obj.view`` is responsible for setting category
metadata on ``self`` after we exit.
3. Someone creates a new LabelArray by slicing an existing one.
@@ -473,7 +473,7 @@ class LabelArray(ndarray):
-------
matches : np.ndarray[bool]
An array with the same shape as self indicating whether each
element of self ended with ``suffix``.w
element of self ended with ``suffix``
"""
return self.apply(lambda elem: elem.endswith(suffix), dtype=bool)