human
Can you show me a Python function to create numpy arrays as list.
assistant
Here is a Python function to create numpy arrays as list

import numpy as np

def _create_numpy_array_as_list():
    """
    Create numpy array as list.
    """
    return np.arange(10)

# Enter the size of the random number
size = 10

# Calling the function
print((_create_numpy_array_as_list()))

#Example Output
# [0 1 2 3 4 5 6 7 8 9]

#Remember to inspect code for bugs.