DOC: Give an example of grabbing the X array from the indices returned by resample.
Add docstring test fix.