def n_argmin(array, n, axis=0):
    """
    Returns indeces of n minimum values.

    Parameters
    ----------
    array : array-like

    n : int
        Number of minimum indeces.

    axis : int
        Axis along which to search minimum values.
        Defaults to ``0``.

    Returns
    -------
    array-like
    """
    sorted_argumets = array.argsort(axis=axis).ravel()
    return sorted_argumets[:n]