<h3 dir="auto">Is your feature request related to a problem? Please describe.</h3>
<p dir="auto">The docstring of find_objects does not specify the order in which the slices are returned, but (per <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5890449" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/277" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/277/hovercard" href="https://github.com/scipy/scipy/pull/277">#277</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="823509415" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/13648" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/13648/hovercard?comment_id=791853680&amp;comment_type=issue_comment" href="https://github.com/scipy/scipy/issues/13648#issuecomment-791853680">#13648 (comment)</a>) it seems that it returns them "in order", i.e. first the slices corresponding to label 1, then the slice corresponding to label 2, etc.  This is nice, but not obvious given the current docstring:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="    Find objects in a labeled array.

    Parameters
    ----------
    input : ndarray of ints
        Array containing objects defined by different labels. Labels with
        value 0 are ignored.
    max_label : int, optional
        Maximum label to be searched for in `input`. If max_label is not
        given, the positions of all objects are returned.

    Returns
    -------
    object_slices : list of tuples
        A list of tuples, with each tuple containing N slices (with N the
        dimension of the input array). Slices correspond to the minimal
        parallelepiped that contains the object.

        Each tuple If a number is missing,
        None is returned instead of a slice."><pre class="notranslate"><code class="notranslate">    Find objects in a labeled array.

    Parameters
    ----------
    input : ndarray of ints
        Array containing objects defined by different labels. Labels with
        value 0 are ignored.
    max_label : int, optional
        Maximum label to be searched for in `input`. If max_label is not
        given, the positions of all objects are returned.

    Returns
    -------
    object_slices : list of tuples
        A list of tuples, with each tuple containing N slices (with N the
        dimension of the input array). Slices correspond to the minimal
        parallelepiped that contains the object.

        Each tuple If a number is missing,
        None is returned instead of a slice.
</code></pre></div>
<p dir="auto">e.g. it could easily have been the case that slices are simply returned in the order in which objects are seen when raster scanning through the image.  (The remark about None and missing numbers hints at the actual behavior, but is quite implicit.)</p>
<h3 dir="auto">Describe the solution you'd like.</h3>
<p dir="auto">Clarify that label <code class="notranslate">l</code> corresponds to index <code class="notranslate">l - 1</code> in the returned array.</p>
<h3 dir="auto">Describe alternatives you've considered.</h3>
<p dir="auto">N/A</p>
<h3 dir="auto">Additional context (e.g. screenshots, GIFs)</h3>
<p dir="auto">N/A</p>
<p dir="auto">Reference: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="615334003" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/17174" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/17174/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/17174">scikit-learn/scikit-learn#17174</a></p>
<p dir="auto">Hello,<br>
I am getting and error when importing sklearn.preprocessing. In the above referenced issue, it was found out to be a scipy installation issue. Please help in resolving. Thanks</p>
<p dir="auto">Python version: Python 3.5.1rc1</p>
<p dir="auto">The notebook that I am working on is running from a virtual environment.</p>
<p dir="auto">Here are the installed packages in that environment. <a href="https://github.com/scipy/scipy/files/4633580/pip_list.txt">pip_list.txt</a></p>
<p dir="auto">Error Details:</p>
<h2 dir="auto">from scipy.sparse import issparse</h2>
<p dir="auto">ImportError                               Traceback (most recent call last)<br>
 in <br>
3 from matplotlib import pyplot<br>
4<br>
----&gt; 5 from scipy.sparse import issparse</p>
<p dir="auto">c:\users\local_user\appdata\local\programs\python\python35\notebook\lib\site-packages\scipy_<em>init</em>_.py in <br>
154     # This makes "from scipy import fft" return scipy.fft, not np.fft<br>
155     del fft<br>
--&gt; 156     from . import fft</p>
<p dir="auto">c:\users\local_user\appdata\local\programs\python\python35\notebook\lib\site-packages\scipy\fft_<em>init</em>_.py in <br>
74 from <strong>future</strong> import division, print_function, absolute_import<br>
75<br>
---&gt; 76 from ._basic import (<br>
77     fft, ifft, fft2, ifft2, fftn, ifftn,<br>
78     rfft, irfft, rfft2, irfft2, rfftn, irfftn,</p>
<p dir="auto">c:\users\local_user\appdata\local\programs\python\python35\notebook\lib\site-packages\scipy\fft_basic.py in <br>
----&gt; 1 from scipy._lib.uarray import generate_multimethod, Dispatchable<br>
2 import numpy as np<br>
3<br>
4<br>
5 def _x_replacer(args, kwargs, dispatchables):</p>
<p dir="auto">c:\users\local_user\appdata\local\programs\python\python35\notebook\lib\site-packages\scipy_lib\uarray.py in <br>
25     from uarray import _Function<br>
26 else:<br>
---&gt; 27     from ._uarray import *<br>
28     from ._uarray import _Function<br>
29</p>
<p dir="auto">c:\users\local_user\appdata\local\programs\python\python35\notebook\lib\site-packages\scipy_lib_uarray_<em>init</em>_.py in <br>
112 """<br>
113<br>
--&gt; 114 from ._backend import *<br>
115<br>
116 <strong>version</strong> = '0.5.1+5.ga864a57.scipy'</p>
<p dir="auto">c:\users\local_user\appdata\local\programs\python\python35\notebook\lib\site-packages\scipy_lib_uarray_backend.py in <br>
----&gt; 1 from typing import (<br>
2     Callable,<br>
3     Iterable,<br>
4     Dict,<br>
5     Tuple,</p>
<p dir="auto">ImportError: cannot import name 'Type'</p>