human
Give me a Python program to index min in vecotr.
assistant
Here is a Python program to index min in vecotr

import numpy as np

def _index_of_min(vec):
    """
    Returns the index of the minimum value in the vector.
    :param vec: vector
    :return: index of minimum value in the vector
    """
    return np.argmin(vec)

# Enter the vector
vec = [1, 2, 3, 4, 5]

# Calling the function
print((_index_of_min(vec)))

#Example Output
# 0

#Remember to inspect code for bugs.