human
numpy array from items.
assistant
Here is a Python function to numpy array from items

import numpy as np

def array_from_items(items):
    """
    Create a numpy array from items.
    """
    return np.array(items)

# Enter the items
items = [1, 2, 3]

# Calling the function
array = array_from_items(items)

# Printing the array
print(array)

#Example Output
# [1 2 3]

#Remember to inspect code for bugs.