human
Write me a Python function to index min in vecotr.
assistant
Here is a Python function to index the min in vecotr

import numpy as np

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

# Enter the vector
vec = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

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

#Example Output
# 0

#Remember to inspect code for bugs.