how can we find the type of numpy array in python code example Example: np as type >>> x.astype(int) array([1, 2, 2])