human
Give me a Python function to remove dtype nparrays.
assistant
Here is a Python function to remove dtype nparrays

import numpy as np

def remove_dtype(x):
    """Remove dtype from numpy array x"""
    return x.astype(float)

# Enter the numpy array
x = np.array([1, 2, 3])

# Calling the function
y = remove_dtype(x)

# Printing the numpy array
print(y)

#Example Output
# [1. 2. 3.]

#Remember to inspect code for bugs.